[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Registration of a set of trickyfonts by NEC
From: |
mpsuzuki |
Subject: |
Re: [ft-devel] Registration of a set of trickyfonts by NEC |
Date: |
Sat, 30 Apr 2011 22:35:26 +0900 |
I've registered a set of NEC FA family to tricky font list,
in git head.
On Thu, 28 Apr 2011 15:21:00 +0900
suzuki toshiya <address@hidden> wrote:
>Oops, my proposal was insufficient because it was proposed
>without samples to reproduce the issue. Just I've posted
>sample PDF at:
>https://savannah.nongnu.org/patch/download.php?file_id=23313
>
>It seems that no objection against the change of algorithm
>to lookup a tricky font, I will apply my patch.
Considering the benchmark results that the table length
comparison before the checksum comparison reduces the
times of the checksum calculation, I have not changed
the algorithm but add extra checking to assure that 0-length
table in the registry is not included in the font.
The algorithm proposed in my first post of this thread:
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00081.html
was making a concatenated checksum of cvt/fpgm/prep from
given font (regardless with the content in the registry
of tricky fonts) and compare it with the entries in the
registry by simple memcmp().
There is a proposal to ignore the checksum in the header
to prevent the influences from incorrect TrueType embedders.
If it is agreed (Werner had already commented "it is acceptable"),
my previous proposal forces the recalculation and makes
the tricky font checking expensive, so I kept original
algorithm to compare the registered fonts and the given font.
Regards,
mpsuzuki
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, (continued)
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, mpsuzuki, 2011/04/28
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, david.bevan, 2011/04/28
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, Werner LEMBERG, 2011/04/28
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, mpsuzuki, 2011/04/28
- [ft-devel] benchmark of sfnt checksum recalculation, mpsuzuki, 2011/04/29
- Re: [ft-devel] benchmark of sfnt checksum recalculation, mpsuzuki, 2011/04/29
- Re: [ft-devel] benchmark of sfnt checksum recalculation, Werner LEMBERG, 2011/04/30
- Re: [ft-devel] benchmark of sfnt checksum recalculation, suzuki toshiya, 2011/04/30
- Re: [ft-devel] benchmark of sfnt checksum recalculation, Werner LEMBERG, 2011/04/30
- Re: [ft-devel] Registration of a set of trickyfonts by NEC, suzuki toshiya, 2011/04/28
- Re: [ft-devel] Registration of a set of trickyfonts by NEC,
mpsuzuki <=