8000 Prepare unipdf release v3.5.0 by gunnsth · Pull Request #274 · unidoc/unipdf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prepare unipdf release v3.5.0 #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 9, 2020
Merged

Conversation

gunnsth
Copy link
Contributor
@gunnsth gunnsth commented Mar 8, 2020

This change is Reviewable

adrg and others added 8 commits February 17, 2020 22:54
* Add PdfFont method for encoding runes to charcode bytes
* Add getter method for CMap nbits
* Take CMap nbits into account when encoding text
* Adapt font test cases to include text encoding testing
* Fixed PdfColorspaceSpecialIndexed.ImageToRGB() Fixes unidoc#258
* Fixed indexed colorspace bounds checking.
* Being super cautious to prevent a divide by zero error. I don't think the base cs can have <1 cpts.
* Updated image hash in extract_images_test.go to match new indexed colorspace code.
* add testfile from unipdf#258
* Add render package
* Add text state
* Add more text operators
* Remove unnecessary files
* Add text font
* Add custom text render method
* Improve text rendering method
* Rename text state methods
* Refactor and document context interface
* Refact text begin/end operators
* Fix graphics state transformations
* Keep original font when doing font substitution
* Take page cropbox into account
* Revert to substitution font if original font measurement is 0
* Add font substitution package
* Implement addition transform.Point methods
* Use transform.Point in the image context package
* Remove unneeded functionality from the render image package
* Fix golint notices in the image rendering package
* Fix go vet notices in the render package
* Fix golint notices in the top-level render package
* Improve render context package documentation
* Document context text state struct.
* Document context text font struct.
* Minor logging improvements
* Add license disclaimer to the render package files
* Avoid using package aliases where possible
* Change style of section comments
* Adapt render package import style to follow the developer guide
* Improve documentation for the internal matrix implementation
* Update render package dependency versions
* Apply crop box post render
* Account for offseted media boxes
* Improve metrics of rendered characters
* Fix text matrix translation
* Change priority of fonts used for measuring rendered characters
* Skip invalid m and l operators on image rendering
* Small fix for v operator
* Fix rendered characters spacing issues
* Refactor naming of internal render packages
* Add basic glyph metrics support for Type 0 CID fonts
* Initialize font widths map if no W array is present
@codecov
Copy link
codecov bot commented Mar 9, 2020

Codecov Report

Merging #274 into master will increase coverage by 2.64%.
The diff coverage is 3.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   53.98%   56.62%   +2.64%     
==========================================
  Files         192      202      +10     
  Lines       36853    38509    +1656     
==========================================
+ Hits        19896    21807    +1911     
+ Misses      14414    13930     -484     
- Partials     2543     2772     +229
Impacted Files Coverage Δ
common/license/key.go 19.67% <0%> (-1.02%) ⬇️
render/renderer.go 0% <0%> (ø)
render/image_device.go 0% <0%> (ø)
internal/transform/point.go 29.16% <0%> (-9.73%) ⬇️
internal/transform/matrix.go 48.64% <0%> (-11.36%) ⬇️
render/internal/context/imagerender/util.go 0% <0%> (ø)
render/internal/context/imagerender/bezier.go 0% <0%> (ø)
render/internal/context/text_state.go 0% <0%> (ø)
render/internal/context/text_font.go 0% <0%> (ø)
render/internal/context/imagerender/path.go 0% <0%> (ø)
... and 74 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea9988f...4bdda0a. Read the comment docs.

@gunnsth gunnsth merged commit d1c808d into unidoc:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0