Hi all,

Sorry for posting about my homework in 6 months ago.
During the fix for the issue 1078
https://gitlab.freedesktop.org/freetype/freetype/-/issues/1087
, I added a tweak skipping the randomization "tag"
of the family names of the fonts embedded in PDF.

https://gitlab.freedesktop.org/freetype/freetype/-/commit/2b3ccd6e266cc74740ee6157b643a0c409c5df64

At present, it skips the heading uppercase 6 letters
with "+" delimiter, this syntax was defined by PDF
Reference.

There might be some poorly designed implementations
using some digits in the randomization tag, like,
"123456+Courier" or "123ABC+Helvetica". Current tweak
does not take them as the randomization tag. If you
have some PDFs including such incorrect randomization
tag, please let me know.

Regards,
mpsuzuki

On 2021/02/13 3:18, Werner LEMBERG wrote:

[Justyna] To be more precise, my case is PDLCJH+OCR-A font.  This is
incremental font build of OCR-A font.

The correct term is not 'incremental font' but 'subsetted font': The
PDF generator takes your input font and omits all glyphs not necessary
in the output file, thus creating a subset of the original font.

FreeType flags it as tricky.

Indeed, this is not good.

[Toshiya] Revisiting the changeset, using "DLC" prefix in the deny
list is slightly too greedy idea to catch all Dynalab fonts, I feel.

I agree.  Additionally, it seems that FreeType finds 'DLC' incorrectly
in the middle of a font name...


     Werner


Reply via email to