|
From: | suzuki toshiya |
Subject: | Re: [EXTERNAL] Re: Problem with flagging font as 'tricky' |
Date: | Tue, 24 Aug 2021 21:02:33 +0900 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |