[luatex] luatex - pdfmapline database

Hans Hagen pragma at wxs.nl
Mon Jul 18 20:30:37 CEST 2016


On 7/18/2016 6:44 PM, Pali Rohár wrote:
> On Monday 18 July 2016 12:17:31 you wrote:
>> On 7/18/2016 11:13 AM, Pali Rohár wrote:
>>> On Sunday 17 July 2016 22:56:15 Hans Hagen wrote:
>>>> On 7/17/2016 8:56 PM, Pali Rohár wrote:
>>>>> Also from mapfile/mapline(s) it is possible distinguish if font
>>>>> is Type1 PFB or bitmap PK (bitmap fonts are not present in
>>>>> mapfiles). And bitmap
>>>>
>>>> you can check if there is a pfb file on the system
>>>>
>>>>> parameter must be correctly passed to fontloader otherwise font
>>>>> will be not loaded.
>>>>
>>>> how many fonts are you taking about ...
>>>
>>> I'm talking about support for also other 8bit fonts...
>>
>> most 8 bit fonts have afm files so nothing special is needed then
>
> Yes, when AFM files are available it is not needed. But this is in case
> when AFM files does not exists at all in system. TeXLive has more such
> fonts. And also AFM files are not available for MetaFont fonts.
>
> I'm thinking about general font loader as layer which can load all fonts
> as pdftex... Thanks to your changes to font loader, it is possible to
> load also pfb type1 fonts and pk bitmap fonts which do not have AFM
> files. But loading pfb fonts is chatty, needs to specify it in long
> format (file:...) and I would like to use it in short way \font\f=name.
> Map file can be used to detect if encoding vector file is needed
> (otherwise "auto"), so short way could be possible to implement.

> And same for pk bitmap fonts, but here it is needed to specify encoding
> vector. I can imagine that short way \font\f=name could work too, maybe
> specifying encoding vector in some global lua variable or tex register.

i wonder how many people will use luatex that way i.e. probably the 
majority of those fonts are replace by otf

anyway, a quick check on my not too large tree already shows some 3300 
valid map lines (with an enc entry) of which some 1200 are conflicting 
duplicates so there it stops for me

(i was actually, surprised that there were still so many map files 
around, probably for mkii)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list