freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] Some newbie questions


From: Nitzan Shaked
Subject: [Freetype] Some newbie questions
Date: Sun, 10 Mar 2002 09:34:30 +0200

Hi all

I read every piece of documentation I could find on freetype.org, and still
have some open questions. Please pardon me grouping them like this is one
message. Here goes:

* Just for terminology's sake: a "character" is a logical entity,
representing NOT the picture but the meaning. A "glyph" is a picture which
can represent one (but sometimes more) character. A "script" is a written
language, with all it's characters and some conventions (like layout
direction etc). Correct?

* Can someone tell me FT2's peak RAM consumption for one open font (say
Courier or TimesNewRoman) ? I'm thinking about porting FT2 to a *very*
memory-tight embedded environment.

* What are "glyph->bitmap_left" and "glyph->bitmap_top" ? Are they the
offset (in pixels or 26.6 pixels) from current pen position where I should
draw the bitmap? Are they put there by FT_Render_Glyph()? If so, does it
mean the bitmap is the size of the bbox and that bitmap_left and bitmap_top
are actually (xmin>>6, ymin>>6) ?

* It's not mentioned, but I'm guessing the answer is YES: when I access a
glyph's metrics (after it has been loaded, scaled and hinted), are these the
SCALED HINTED metrics? All of them, or only some?

        tia,
                Nitzan

=================================
Nitzan Shaked    Emblaze Research

Group Manager,
Embedded  Software  Infrastrucure

Tel:               +972-9-8923258
Email:       address@hidden
=================================



reply via email to

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