[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: Re: [Devel] Regarding the layout table formats & FreeType 2
From: Werner LEMBERG <wl () gnu ! org>
Date: 2004-03-27 7:22:39
Message-ID: 20040327.082239.173862767.wl () gnu ! org
[Download RAW message or body]
> - 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
_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic