freetype-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]