Re: Text-View width (third edition)



Havoc Pennington <hp redhat com> writes:

> Alberto Manuel Brandao Simoes <albie alfarrabio di uminho pt> writes: 
> > 	The text-view works... (well, my text-view on my code works, and
> > this error occurs only when I try to calculate the text-view width).
> > 
> > 	Yes, the gtk-demo works.
> > 
> 
> OK. I'll look into changing the demo to use a generic alias instead of
> Courier so we can track breakage.
> 
> Owen says the generic alias may be "mono" right now though it was
> originally intended to be "monospace" and he hasn't decided yet which
> one it will be in the end. ;-) so you might want to try "mono" for
> now.

Actually, that's not quite what I said. :-)

What I said is that the Xft library uses "mono" instead of "monospace"
in its distributed default configuration files. For "sans" and "serif"
the Xft standard aliases match the pango standard aliases, so things
just work,

For "monospace", currently you have to explicitely configure it in your
XftConfig to get things working properly.

This doesn't mean that the generic Pango alias is "mono" -- it definitely
won't work with the core X font backend.

It would, be, of course, very if Xft and Pango used the same name.
I used "monospace" for Pango because that was the standard CSS name;
I'm not really sure about the reasoning behind the Xft choice.
"Mono" is certainly shorter to type, but strikes me as a little 
obscure.

Regards,
                                        Owen




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