Re: pangocairo on Mac: transformation matrix and fontsize



On 12-12-04 05:27 PM, John Ralls wrote:
> 
> On Dec 4, 2012, at 2:22 PM, Behdad Esfahbod <behdad behdad org> wrote:
> 
>> On 12-12-04 04:54 PM, John Ralls wrote:
>>>>>
>>>>> On 12-12-04 08:04 AM, Jun T. wrote:
>>>>>>> But on my Mac (OSX 10.8, pango-1.32.3/cairo-1.12.8),
>>>
>>> BTW, I can replicate his results with current master.
>>
>> Using the CoreText backend I assume, NOT FreeType+HarfBuzz.  Right?
> 
> Yes.

Ok, so both CoreText and Win32 backends need fixing.  This is the part in the
FreeType backend that needs to be ported to those two others:

In pangocairo-fcfont.c:_pango_cairo_fc_font_new():

  size = get_font_size (pattern) /
         pango_matrix_get_font_scale_factor (pango_fc_font_key_get_matrix (key));


Do you think you can fix / test the OS X one?

Anyone voluteer to fix Win32?

-- 
behdad
http://behdad.org/


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