Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
seehuhn committed Feb 1, 2025
1 parent ae0654c commit 4feef6f
Show file tree
Hide file tree
Showing 20 changed files with 948 additions and 1,222 deletions.
2 changes: 1 addition & 1 deletion docs/content/pdf/text/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ The following information applies to simple PDF fonts.
| | non-symbolic | symbolic |
| ----------: | :----------: | :--------: |
| encoding | 4 | 2 |
| no encoding | 1 | avoid |
| no encoding | avoid | 1 |

Reading: I plan to try the methods in the following order and to use the
first one which succeeds:
Expand Down
2 changes: 1 addition & 1 deletion font/cff/cid.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (f *embeddedComposite) Finish(rm *pdf.ResourceManager) error {
}
dw := subsetCFF.GlyphWidthPDF(0)

isSymbolic := false
isSymbolic := false // TODO(voss): set this correctly

qh := subsetCFF.FontMatrix[0] * 1000
qv := subsetCFF.FontMatrix[3] * 1000
Expand Down
354 changes: 0 additions & 354 deletions font/encoding/enc2.go

This file was deleted.

Loading

0 comments on commit 4feef6f

Please sign in to comment.