fix wrong git ignore
This commit is contained in:
18
internal/pdf/model/fonts/font.go
Normal file
18
internal/pdf/model/fonts/font.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package fonts
|
||||
|
||||
import (
|
||||
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/core"
|
||||
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/model/textencoding"
|
||||
)
|
||||
|
||||
type Font interface {
|
||||
SetEncoder(encoder textencoding.TextEncoder)
|
||||
GetGlyphCharMetrics(glyph string) (CharMetrics, bool)
|
||||
ToPdfObject() core.PdfObject
|
||||
}
|
||||
|
||||
type CharMetrics struct {
|
||||
GlyphName string
|
||||
Wx float64
|
||||
Wy float64
|
||||
}
|
||||
Reference in New Issue
Block a user