mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-11 19:29:40 +08:00
Removed code that doesn't ever get called.
This commit is contained in:
parent
b7f91fd72c
commit
d3deac815e
@ -489,10 +489,6 @@ func (to *textObject) setFont(name string, size float64) error {
|
||||
to.state.tfs = size
|
||||
font, err := to.getFont(name)
|
||||
if err != nil {
|
||||
if err == model.ErrFontNotSupported {
|
||||
// TODO(peterwilliams97): Do we need to handle this case in a special way?
|
||||
return err
|
||||
}
|
||||
return err
|
||||
}
|
||||
to.state.tfont = font
|
||||
|
Loading…
x
Reference in New Issue
Block a user