gofpdf icon indicating copy to clipboard operation
gofpdf copied to clipboard

incorrect font flag value

Open benoitkugler opened this issue 4 years ago • 0 comments

I think the SmallCap value defined in def (line 651) as 1 << 18 should be 1 << 17, so that the "bit position" defined in the SPEC, part 9.8.2 (Font Descriptor Flag) in Table 123 (Font flag), is actually 18. As an other evidence, consider that ForceBold has the same value 1 << 18, which is certainly a mistake.

benoitkugler avatar Nov 11 '20 11:11 benoitkugler