[luatex] dump a tfm to a file

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Jun 21 10:33:26 CEST 2011


On Tue, Jun 21, 2011 at 10:28, Taco Hoekwater wrote:
> On 06/21/2011 10:25 AM, Robin Fairbairns wrote:
>>
>> solves ulrike's problem by providing an easy route ... but what she
>> actually _needs_ is a lua script to dump the tables in the format tex4ht
>> wants.
>
> I know nothing about tex4ht except that it exists and is annoyingly hard
> to set up right (which is exactly why that is the only thing I know
> about it). But if there is a dedicated format that tex4ht understands,
> then it should be quite straightforward to create such a file based on
> the internal metrics representation, especially if it is a human-readable
> format.

It is. See:
    /usr/local/texlive/2011/texmf-dist/tex4ht/ht-fonts/unicode/lm/lm-ec.htf

The problem is that I'm not sure if it would work out of the box with
>256 characters (no matter how tiny fix would be required to fix it,
one might need to patch tex4ht, but I didn't test anything).

Mojca


lm-ec 0 255
'`' ''     0 % lm-ec.htf 2009-05-06 %
'´' ''     1 % Copyright (C) 2005--2009
Eitan M. Gurari
'ˆ' ''     2 %
                  %
'˜' ''     3 % This work may be distributed and/or modified
under the conditions  %
'¨' ''     4 % of the LaTeX Project Public License, either
version 1.3 of this    %
'˝' ''     5 % license or (at your option) any later version.
The latest version  %
'˚' ''     6 % of this license is in
http://www.latex-project.org/lppl.txt and    %
'ˇ' ''     7 % version 1.3 or later is part of all
distributions of LaTeX version %
'˘' ''     8 % 2003/12/01 or later.
                  %
'¯' ''     9 %  This work has the LPPL maintenance status
"maintained". This      %
'˙' ''     10 % Current Maintainer of this work is Eitan M.
Gurari.                %
'¸' ''     11 %
                   %
'˛' ''     12 % If you modify this file your your adding a note
of                 %
'‚' ''     13 % your own after this copyright note will be
appreciated.            %
'‹' ''     14 %
                   %
'›' ''     15 %
gurari at cse.ohio-state.edu %
'“' ''     16 %
http://www.cse.ohio-state.edu/~gurari %
'”' ''     17
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
'„' ''     18~
'«' ''     19
'»' ''     20
'–' ''     21
'—' ''     22
'' ''   23
'0' ''     24
'ı' ''     25
'ȷ' ''     26
'ff' ''     27
'fi' ''     28
'fl' ''     29
'ffi' ''     30
'ffl' ''     31
'␣' ''     32
'!' ''     33
'"' ''     34
'#' ''  35
'$' ''  36
'%' ''  37
'&' ''  38
'’' ''     39


More information about the luatex mailing list