You are not logged in.

#1 2012-08-10 01:19:46

tomisacat
Member
Registered: 2011-09-25
Posts: 43

[Solved]How to know the exact name of a font?

Sometimes I wanna change the font of some software(i.e Conky),but how do I know the exact name of a font ? for example,I have installed Ubuntu's fonts,when I write my configure file ,should I consider the capital or lower case of the first letter?

THX.

Last edited by tomisacat (2012-08-11 12:45:14)

Offline

#2 2012-08-10 06:49:53

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: [Solved]How to know the exact name of a font?

Most of the fonts you want to use in applications are generally either in /etc/share/fonts or ~/.fonts

The fonts in conkyrc is named just as is, without the extension.
For e.g. if you have Inconsolata.otf in either of the directories, then ${font Inconsolata:size=9,weight:normal} sets font to it.

Offline

#3 2012-08-10 06:54:09

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [Solved]How to know the exact name of a font?

gtk2fontsel

xfontsel (just in case...)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#4 2012-08-10 14:28:39

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [Solved]How to know the exact name of a font?

Use the fc-query command.

Offline

#5 2012-08-11 12:44:54

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: [Solved]How to know the exact name of a font?

brebs wrote:

Use the fc-query command.

THX,a familiar command 「fc-list」 helped me.

Offline

Board footer

Powered by FluxBB