Re: Mis-rendered Carlito glyphs at certain scales

suzuki toshiya <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Sorry,

Just I've reproduced the issue on Ubuntu/i386,
libcairo2-dev 1.13.0~20140204-0ubuntu1
libfreetype6-dev 2.5.2-1ubuntu2.2
I was afraid that something goes wrong in the
font rasterizer, but yet I'm not sure (ftview
shows Carlito well - no easy error).

I will try to make the sample draw onto other
surfaces like SVG or PDF.

Regards,
mpsuzuki

suzuki toshiya wrote:
> Hi,
> 
> If you view Carlito by ftview (freetype2-demos),
> everything is OK?
> 
> Regards,
> mpsuzuki
> 
> Stephan Bergmann wrote:
>> I discovered that at least on Fedora with 
>> cairo-1.13.1-0.1.git337ab1f.fc20.x86_64 and 
>> google-crosextra-carlito-fonts-1.103-0.1.20130920.fc20.noarch,
>>
>>> cairo_matrix_t bad = { 68, 0, 0, 103, 0, 0 };
>>> cairo_select_font_face(
>>>     cr, "Carlito", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
>>> cairo_set_font_matrix(cr, &good);
>>> cairo_move_to(cr, 10, 200);
>>> cairo_show_text(cr, "ABCDEG..");
>> draws mis-rendered glyphs (see 
>> <http://people.redhat.com/~sbergman/carlito.png>; reproducer recycling a 
>> cairo-demo at <http://people.redhat.com/~sbergman/carlito.c>), while a 
>> slightly different scale of
>>
>>> cairo_matrix_t good = { 69, 0, 0, 103, 0, 0 };
>>> cairo_select_font_face(
>>>     cr, "Carlito", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
>>> cairo_set_font_matrix(cr, &good);
>>> cairo_move_to(cr, 10, 400);
>>> cairo_show_text(cr, "ABCDEG..");
>> draws good ones.
>>
>> What is the most likely component to report this to, the Carlito font, 
>> Cairo, or somewhere below it on the software stack?
>>
>> Stephan
> 
> 

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.