On 02/20/11 15:29, Khaled Hosny wrote:
I'm suspecting that the size setting in FT_Set_Char_Size() and
cairo_set_font_size() don't line together, but I'm not sure what would
be the correct use of both.
Instead of setting size on the face yourself, just get a prepared face from
cairo using
On 02/22/11 13:44, Khaled Hosny wrote:
I thought about this already, but it give me much worse spacing; glyps
are too widely spaced that two of them can't fit in the screen, see the
attached file.
Divide the offset/advance you get from harfbuzz by 64., that's the unit when
using hb-ft.h. I'm
On Tue, Feb 22, 2011 at 01:49:46PM -0500, Behdad Esfahbod wrote:
On 02/22/11 13:44, Khaled Hosny wrote:
I thought about this already, but it give me much worse spacing; glyps
are too widely spaced that two of them can't fit in the screen, see the
attached file.
Divide the offset/advance
I'm trying to write a simple HB test and thought using FreeType/Cairo
would be the shortest path. I got the code to shape the text, but glyph
positions are wrong (at least horizontal positions); some glyphs are too
close, others are spaced out than they should.
I'm not sure what is wrong with the
On Sun, Feb 20, 2011 at 04:29:49PM +0200, Khaled Hosny wrote:
I'm trying to write a simple HB test and thought using FreeType/Cairo
would be the shortest path. I got the code to shape the text, but glyph
positions are wrong (at least horizontal positions); some glyphs are too
close, others are
On 20 Feb 2011, at 14:39, Khaled Hosny wrote:
On Sun, Feb 20, 2011 at 04:29:49PM +0200, Khaled Hosny wrote:
I'm trying to write a simple HB test and thought using FreeType/Cairo
would be the shortest path. I got the code to shape the text, but glyph
positions are wrong (at least horizontal
On Sun, Feb 20, 2011 at 08:23:39PM +, Jonathan Kew wrote:
On 20 Feb 2011, at 14:39, Khaled Hosny wrote:
On Sun, Feb 20, 2011 at 04:29:49PM +0200, Khaled Hosny wrote:
I'm trying to write a simple HB test and thought using FreeType/Cairo
would be the shortest path. I got the code to