Re: Ink and Logical rectangles in Pango

Jyotirmoy Saikia <jyotirmoy_saikia yahoo com> writes:

> Can someone please explain me the terminologies - "the
> logical and ink extents of a glyph"?

The logical rectangle is the one you would use for layout
purposes. Ie. when you are lining glyphs and lines up on a page you
should use the logical rectangle.

The ink rectangle is the bounding box of the area that will actually
contain ink. That is usually not the same as the logical
rectangle. Consider the glyph 'g' for example. It descends below the
baseline, so its ink rectangle will be bigger than its logical


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