[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Regarding the layout table formats & FreeType 2
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] Regarding the layout table formats & FreeType 2 |
Date: |
Sat, 27 Mar 2004 08:22:39 +0100 (CET) |
> - generally speaking, tables are not parsed directly in memory.
> Instead, similarly to the OTL support in FreeType 1, the code does
> load all data into library-specific structures, and does all
> processing within these. This is however an implementation detail
> that is not revealed by the API, and could be changed (hopefully)
> in the future. [...]
>
> I'd like to remind you that all OTL and AAT tables are clearly
> designed in a way that parsing them directly in memory is
> infinitely easier. The hard part is validating the input to
> ensure that you will not jump to unkown areas of memory due to a
> bad offset. you clearly don't want to check every offset in the
> table during glyph processing :-)
With other words, in a not too distant future we will use the stuff in
the `otlayout' directory for validation...
> other than that, the code itself is very solid. There are
> countless little thwarts that can be (very easily) fixed
> though. For example:
This is something for me :-) I'm quite good as an `obasan' (I hope
that it has the same meaning in Japan as it has in Taiwan :-).
Werner
Re: [Devel] Regarding the layout table formats & FreeType 2,
Werner LEMBERG <=