Re: pangocairo on Mac: transformation matrix and fontsize
- From: John Ralls <jralls ceridwen fremont ca us>
- To: Behdad Esfahbod <behdad behdad org>
- Cc: Fan Chun-wei <fanc999 yahoo com tw>, gtk-i18n-list gnome org
- Subject: Re: pangocairo on Mac: transformation matrix and fontsize
- Date: Wed, 5 Dec 2012 17:01:19 -0800
On Dec 5, 2012, at 1:42 PM, Behdad Esfahbod <behdad behdad org> wrote:
> 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?
>
I can certainly test it. Whether I can figure out what & how to implement in a reasonable amount of time is another matter ;-),
but I'll take a look.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]