Mojca Miklavec wrote:
On Wed, Oct 1, 2008 at 2:57 PM, Alan Stone wrote:
Is there a (preferably free) Linux or Windows font tool out there which allows to print a font's characters and corresponding character codes ?
Geeks do it with LuaTeX :)
I'm not sure if this still works since I have no luatex here, but in theory you can play with something like this:
% do whatever you want with it \def\mychar#1#2{#1: #2\crlf}
\starttext \ctxlua{ fontname = 'texgyrepagella-regular.otf' tfmdata = fonts.tfm.read_and_define("file:" .. fontname, 655360)
w = tfmdata.characters for i=0,100000 do if w[i] then tex.sprint("\\strut\\mychar{" .. i, "}{\\type{", w[i].name, "}}") end end } \stoptext
lesser geeks loom in s-fnt-10.tex -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------