Re: regarding setting resolution in pangoft2



AFAIK Pango doesn't currently support that.  And PangoFT2 is obsolete as far
as I'm concerned...

On 13-07-09 10:09 AM, Parth Kanungo wrote:
Okay, It does impact the resolution.

What I meant is that the effect is observed only when I change the
Y-resolution (dpi_y).

Moreover, the value passed in dpi_y impacts both the x-resolution and the
y-resolution. This behaviour seems wrong and is illustrated in the attached
output images and sample code. ( 72_140.bmp means dpi_x=72 and dpi_y=140 )

 

Can you tell me how do I modify only the X resolution (without impacting Y
resolution at all)?

It seems that it has something to do with FT_Set_Char_Size() statement in
pangoft2.c

--

Thanks and regards,

Parth Kanungo

 

------- *Original Message* -------

*Sender* : Behdad Esfahbod<behdad behdad org>

*Date* : Jul 09, 2013 18:31 (GMT+05:30)

*Title* : Re: regarding setting resolution in pangoft2

 

On 13-07-09 08:06 AM, Parth Kanungo wrote:
it did not impact the resolution.

What do you mean by this exactly?

The "resolution" is only used when converting from font size in points to font
size in pixels.

-- 
behdad
http://behdad.org/

 

 


-- 
behdad
http://behdad.org/


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