[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Strange rendering/alignment of dot of the 'exclamation' of Consolas
From: |
Kazuo Teramoto |
Subject: |
[ft] Strange rendering/alignment of dot of the 'exclamation' of Consolas font using subpixel. |
Date: |
Tue, 19 Feb 2008 08:32:46 -0300 |
Hi
I'm using freetype 2.3.5 to render Consolas font (by Lucas de Groot
(bundled in Vista...)).
But I'm experiencing a strange behavior in the rendering of '!'. The
rendering is wrong when subpixel is on, take a look at this two
pictures from konsole (kde4) and gvim:
http://socrates.if.usp.br/~kazuo/gvim_consolas_exclamation.png (Consolas 8pt)
http://socrates.if.usp.br/~kazuo/konsole_consolas_exclamation.png (Consolas 8pt)
See? The exclamation mark is off by one pixel to the left, but look at
this other Consolas at 15pt on konsole:
http://socrates.if.usp.br/~kazuo/konsole_consolas_15_exclamation.png
This is off by one pixel to the right. Now if I try with ftview (look
like it don't use subpixel) all is aligned:
http://socrates.if.usp.br/~kazuo/ftview_consolas_exclamation.png
If I disable subpixel all come aligned too. So I thought this is a/an
bug/error/my mistake config/Consolas-related-bug in the subpixel
rendering of Consolas exclamations fonts (all other chars is good
including the interrogation '?') but when I use xfd or xterm the
exclamation is aligned, look at a xterm sample:
http://socrates.if.usp.br/~kazuo/xterm_consolas_exclamation.png
It is aligned! The only 'font system' difference I spot on xterm and
konsole/gvim is that my xterm link to Xft lib and konsole/gvim don't.
I don't know if this is really a problem with freetype, I don't know
much about the rendering system. But I thought that someone on this
list that know more about font rendering on linux can help me to find
the origin of this problem, and if is this really a bug, report it to
the correct people.
My fontconfig config is:
autohint=true
rgba=rgb
hinting=true
hintstyle=hintmedium
antialias=true
Thanks,
Kazuo Teramoto
--
«Dans la vie, rien n'est à craindre, tout est à comprendre»
Marie Sklodowska Curie.
- [ft] Strange rendering/alignment of dot of the 'exclamation' of Consolas font using subpixel.,
Kazuo Teramoto <=