Andy PhanWDYT about moving to core/fxge/fx_font.h instead?
That works too. Will get to this next week. Unresolving.
Move and use MaybeRemoveSubsettedFontPrefix()Andy Phan"reuse"
Done
if (base_font_name_.GetLength() > 7 && base_font_name_[6] == '+') {Andy PhanIt's also different because it expects the name to be at least "??????+?", while MaybeRemoveSubsettedFontPrefix() is trying to match "XXXXXX+".
I can re-add the length check.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (base_font_name_.GetLength() > 7 && base_font_name_[6] == '+') {Andy PhanIt's also different because it expects the name to be at least "??????+?", while MaybeRemoveSubsettedFontPrefix() is trying to match "XXXXXX+".
I can re-add the length check.
I'm not sure how much it matters, since PDFs usually won't have just "XXXXXX+" as the font name. Just mentioning this since it's another subtle difference.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |