Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!rt.uk.eu.org!feed.xsnews.nl!border-2.ams.xsnews.nl!feeder.xennanews.com!nf41.xennanews.com!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.postscript Subject: Re: Getting a list of the installed fonts Organization: Decebal Computing References: <87obimn41v.fsf@Compaq.site.inet> X-Homepage: http://www.decebal.nl/ Date: Sun, 25 Nov 2012 00:39:02 +0100 Message-ID: <87haoemuzt.fsf@Compaq.site.inet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:w5B6polfgIJwAHBFZ9aQAfUftOc= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@xennanews.com Lines: 66 NNTP-Posting-Host: 84.53.123.169 (84.53.123.169) NNTP-Posting-Date: Sun, 25 Nov 2012 00:44:24 +0100 Xref: csiph.com comp.lang.postscript:1074 Op zaterdag 24 nov 2012 21:53 CET schreef luuk@invalid.lan: > On 24-11-2012 21:23, Cecil Westerhof wrote: >> Is there a way to get a list of all the installed fonts I can use in >> postscript? Then I can make demos from all, so I can decide which ones >> I want to use. >> >> If it is important: I am working with Linux. >> > > $ man fc-list > NAME > fc-list - list available fonts > > SYNOPSIS > fc-list [ -vVh ] [ --verbose ] [ [ -f format ] [ --format > format ] ] [ --version ] [ --help ] > > [ pattern [ element... ] ] > > DESCRIPTION > fc-list lists fonts and styles available on the system for > applications using fontconfig. If any elements are specified, > only those are printed. Otherwise family and style are printed, > unless verbose output is requested. Thanks. That gave almost 400 fonts. A little to much. By using: fc-list : family It is halved. Then I used: fc-list : family | sort to get them sorted. This way I can skip a lot that are different versions of the same. By the way: I have a font M+. I find this a little strange for the name of a font. I have tried the following fonts (you need to skip the spaces in font names): /SertoBatnan findfont fontsize scalefont setfont /SertoJerusalem findfont fontsize scalefont setfont /SertoJerusalemOutline findfont fontsize scalefont setfont /SertoKharput findfont fontsize scalefont setfont /SertoMalankara findfont fontsize scalefont setfont /SertoMardin findfont fontsize scalefont setfont /SertoUrhoy findfont fontsize scalefont setfont /SonyFixed findfont fontsize scalefont setfont /URWBookmanL findfont fontsize scalefont setfont /URWChanceryL findfont fontsize scalefont setfont What I find strange is that all the Serto fonts (except SertoJerusalemOutline) look for me exactly the same. I think I like the URW fonts the most. Well I am going to make a document with the fonts that look the most interesting. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof