mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-13 19:29:10 +08:00
Removed commented code
This commit is contained in:
parent
af9508cc5c
commit
16b3c1c450
@ -31,10 +31,6 @@ func NewCustomSimpleTextEncoder(encoding, differences map[CharCode]GlyphName) (S
|
||||
if len(encoding) == 0 {
|
||||
return nil, errors.New("empty custom encoding")
|
||||
}
|
||||
|
||||
// common.Log.Info("NewCustomSimpleTextEncoder:\n\tencoding=%v\n\tdifferences=%v",
|
||||
// encoding, differences)
|
||||
|
||||
const baseName = "custom"
|
||||
baseEncoding := make(map[byte]rune)
|
||||
for code, glyph := range encoding {
|
||||
@ -69,7 +65,6 @@ func NewSimpleTextEncoder(baseName string, differences map[CharCode]GlyphName) (
|
||||
}
|
||||
|
||||
func newSimpleEncoderFromMap(name string, encoding map[byte]rune) SimpleEncoder {
|
||||
// common.Log.Info("newSimpleEncoderFromMap: %q", name)
|
||||
se := &simpleEncoding{
|
||||
baseName: name,
|
||||
decode: encoding,
|
||||
|
Loading…
x
Reference in New Issue
Block a user