|
From: | suzuki toshiya |
Subject: | Re: Problem with flagging font as 'tricky' |
Date: | Fri, 12 Feb 2021 10:06:10 +0900 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
Dear Werner, Justyna and Roy, "DLC" was introduced by the request from Mr. Roy Tam, https://gitlab.freedesktop.org/freetype/freetype/-/commit/0ed9fef032641c30d0398d98a01b69eca1c15224 The assumed font file*s* were dlctt-m7.ttf and dftt-f5.ttf. Revisiting the changeset, using "DLC" prefix in the deny list is slightly too greedy idea to catch all Dynalab fonts, I feel. Also it could be slightly odd to understand the situation as "2 different fonts produced by same company have same family name", because it means that the customer cannot use these 2 fonts at the same time. Mr. Roy, do you have more detailed info to identify the fonts precisely? Regards, mpsuzuki On 2021/02/12 1:44, Werner LEMBERG wrote:
Hello Justyna,Before flagging the font as 'tricky' you are checking its name and comparing it with the trick_names table defined in ttobjs.c file. This causes that some fonts which aren't tricky are also flagged and as a result we can't use autohinting on it.What names are you talking about?The main problem cause the fonts having prefixes in its names (like incremental fonts) and "DLC" in the trick_names table. Is there any chance to change this method or even change the "DLC" to "DLCMing" and "DLCFong"?Certainly. The more details you give on the font names you are going to use (or which are already used by you), the finer we can adjust the filter. Werner
[Prev in Thread] | Current Thread | [Next in Thread] |