create directory

Asked by Wladston Viana

When I try to install the Consolas font (truetype font), the font does not work properly.

I could not install the font via drag-and-drop to fonts:///, had to paste it on the /usr/share/fonts/truetype

When I tried to use it, it did not render correctly - some letters overlaps others ...

I'm sure this is not a problem of the font, as it works on windows and previews nicely when you double click it.

How can I ensure this problem is really a bug ?

URL of a sreenshot : http://img213.imageshack.us/my.php?image=screenshotin4.png

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ubuntu User
Solved:
Last query:
Last reply:
Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#1

Try creating a .fonts directory in your home directory /home/yourusernamehere/.fonts and copy the font file that you want into that directory. Then log out and log back in. You should have the font available to choose from and hopefully it will render properly.

Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#2

I just tried this with a font that I download from fontfreak.com and it worked great.

The problem with using the particular TTF file that I downloaded as a terminal font is that it doesn't enforce monospacing, so the terminal will sometimes display them overlapped, especially at smaller pixel sizes, as in your image.

The TTF probably is fine at higher font pixel sizes and in applications that don't require monospacing (or a defined space between characters).

I would suggest finding another console font that works better for your needs.

Please consider closing this request if this answers your question.

Thanks

Good Luck

Jim Jones

Revision history for this message
Wladston Viana (wladston) said :
#3

Thanks!

That helped me a lot! Now the font at least renders correctly - but not with the desired result :( Monospace 10 is still looking better...

Well, one more question : how is the user suposed to know that he has to place the fonts on the ~/.fonts folder ??

And why placing the font on the /usr/share/fonts/truetype does not work ?

Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#4

Wladston-

If you would like font support to be easier, I would suggest that you log a request for enhancement in the bug system (https://launchpad.net/distros/ubuntu/+bugs).

The .fonts trick is an old trick that works on a number of Linux distributions. I am not sure if it is tied to a particular Window manager (KDE or GNOME), but I know that it works.

Otherwise, if these comments helped solve your problem, please consider closing this ticket as answered.

Thanks

Jim Jones

Revision history for this message
Wladston Viana (wladston) said :
#5

Okay, just done it. Thanks!