Skip to content
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

Add text style rendering mode #336

Merged
merged 4 commits into from
Jan 31, 2019
Merged

Add text style rendering mode #336

merged 4 commits into from
Jan 31, 2019

Conversation

adrg
Copy link
Collaborator

@adrg adrg commented Jan 31, 2019

Adds rendering mode field to the TextStyle structure. Also adds text chunks with different rendering modes to the StyledParagraph component.

Should resolve #221

@codecov
Copy link

codecov bot commented Jan 31, 2019

Codecov Report

Merging #336 into v3 will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3     #336      +/-   ##
==========================================
+ Coverage   57.73%   57.78%   +0.05%     
==========================================
  Files         145      145              
  Lines       25225    25214      -11     
==========================================
+ Hits        14563    14571       +8     
- Misses      10266    10276      +10     
+ Partials      396      367      -29
Impacted Files Coverage Δ
pdf/creator/text_style.go 100% <ø> (ø) ⬆️
pdf/creator/const.go 100% <ø> (ø) ⬆️
pdf/creator/styled_paragraph.go 92% <100%> (+2.55%) ⬆️
pdf/model/colorspace.go 35.49% <0%> (-1.1%) ⬇️
pdf/contentstream/processor.go 59.14% <0%> (+0.3%) ⬆️
pdf/model/functions.go 49.11% <0%> (+1.1%) ⬆️
pdf/contentstream/creator.go 36.31% <0%> (+1.45%) ⬆️
pdf/contentstream/utils.go 28.84% <0%> (+9.61%) ⬆️

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 2cc717d...3390d06. Read the comment docs.

@gunnsth gunnsth merged commit bb1aa71 into unidoc:v3 Jan 31, 2019
@adrg adrg deleted the text-rendering-mode branch January 31, 2019 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants