On 12/13/05, Ben Hutchings <[EMAIL PROTECTED]> wrote:
> Jon Smirl <[EMAIL PROTECTED]> wrote:
> > On 12/13/05, Ben Hutchings <[EMAIL PROTECTED]> wrote:
> >> I wrote:
> >> > Is there any way to tell Mozilla that the screen resolution
> >> > differs in the two dimensions, or at least to adjust the proportions
> >> > of the fonts it uses to compensate for this?
> >>
> >> Should I take the deafening silence as a "no"?
> >
> > Mozilla asks the OS to render fonts, so it is an OS question and the
> > answer probably varies by platform. On Linux I don't believe FreeType
> > is capable of rendering to non-square pixel without changing it's
> > source code.
>
> The Freetype API certainly supports them:
> <http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Set_Char_Size>.
>
> I'm not clear on how Mozilla's requests for fonts make their way
> through to Freetype though.

Mozilla goes through Cairo or X to draw fonts depending on which
renderer you use. They in turn get their fonts from xfs and render
them with freetype. X gets the aspect ratio from the monitor's DDC
info.

Does the monitor return the right aspect ratioin it's DDC? If so do
the fonts look ok in an xterm? If not there is a problem down inside X
somewhere.

If you get them working ok in X they should look the same when you run Mozilla.

>
> --
> Ben Hutchings
> Klipstein's 4th Law of Prototyping and Production:
>                                     A fail-safe circuit will destroy others.
> _______________________________________________
> mozilla-embedding mailing list
> mozilla-embedding@mozilla.org
> http://mail.mozilla.org/listinfo/mozilla-embedding
>


--
Jon Smirl
[EMAIL PROTECTED]

_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to