Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Fonts names
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Oct 20, 2006 3:44 pm    Post subject: [Solved]Fonts names Reply with quote

How to get installed font names.

I need to know full name
Like
Quote:
xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*


(if this is correct)


Hope you understand what i mean!


Last edited by a16b03 on Fri Oct 20, 2006 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Fri Oct 20, 2006 5:21 pm    Post subject: Reply with quote

You can use xfontsel (emerge x11-apps/xfontsel) which allows you to select the foundry, family, weight &c. or you can look in the directory which holds the font you are interested in and find the name in fonts.scale.

I don't think you are going to be able to go from a description like "sans-serif:Medium" to "-*-times-medium-r-*-*-16-*-*-*-*-*-*-*" though. A description like medium (not bold) sans-serif matches several fonts like Helvetica, Arial and DejaVu Sans (not, however, Times, which is a serif font).
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum