Hallo, how should the directory be named where a 600 dpi pk-font is searched for by luatex? Wolfgang
On 26-3-2010 21:30, Wolfgang Werners-Lucchini wrote:
Hallo,
how should the directory be named where a 600 dpi pk-font is searched for by luatex?
i'm not so sure if luatex does pk fonts (i havent't included pk fonts in 15 years) 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 -----------------------------------------------------------------
On Fri, 26 Mar 2010, Hans Hagen wrote:
On 26-3-2010 21:30, Wolfgang Werners-Lucchini wrote:
how should the directory be named where a 600 dpi pk-font is searched for by luatex?
i'm not so sure if luatex does pk fonts (i havent't included pk fonts in 15 years)
it does, with the default kpathsea paths, e. g.: hahe@hahepc1:~$ luatex xx This is LuaTeX, Version beta-0.52.0-2010032122 (rev 3515) (./xx.tex [1] ) Output written on xx.pdf (1 page, 3242 bytes). Transcript written on xx.log. or This is LuaTeX, Version beta-0.52.0-2010032122 (rev 3515) (./xx.tex [1] ) Output written on xx.pdf (1 page, 3242 bytes). Transcript written on xx.log. Regards, Hartmut
Wolfgang Werners-Lucchini wrote:
Hallo,
how should the directory be named where a 600 dpi pk-font is searched for by luatex?
Context mkiv does not support pk files (the luatex executable itself does, but context mkiv overrules all search paths and does not support searching for pk files). Best wishes, Taco
On 27-3-2010 0:45, Taco Hoekwater wrote:
Wolfgang Werners-Lucchini wrote:
Hallo,
how should the directory be named where a 600 dpi pk-font is searched for by luatex?
Context mkiv does not support pk files (the luatex executable itself does, but context mkiv overrules all search paths and does not support searching for pk files).
the find and read callbacks are set so it should find them, although there might be logic in kpse with respect to pk files that is not implemented (like generating bitmaps or so) i wonder if it's really worth the trouble to support bitmap fonts in mkiv as hardly anyone will use them 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 -----------------------------------------------------------------
On Sat, Mar 27, 2010 at 10:37 AM, Hans Hagen
On 27-3-2010 0:45, Taco Hoekwater wrote:
Wolfgang Werners-Lucchini wrote:
Hallo,
how should the directory be named where a 600 dpi pk-font is searched for by luatex?
Context mkiv does not support pk files (the luatex executable itself does, but context mkiv overrules all search paths and does not support searching for pk files).
the find and read callbacks are set so it should find them, although there might be logic in kpse with respect to pk files that is not implemented (like generating bitmaps or so)
i wonder if it's really worth the trouble to support bitmap fonts in mkiv as hardly anyone will use them may we can be package them in an otf format -- luigi
may we can be package them in an otf format
Right, OpenType can embed bitmap fonts (even TrueType could, if I'm not mistaken); if the font is only available as PK, it should be possible to make it into an OpenType font, using FontForge, for example. That being said, I realize that it means Metafont fonts can't be used in Mark IV, am I right? Arthur
may we can be package them in an otf format
Right, OpenType can embed bitmap fonts (even TrueType could, if I'm not mistaken);
if the font is only available as PK, it should be possible to make it into an OpenType font, using FontForge, for example. I'm not sure maybe with mftrace http://lilypond.org/mftrace/ From ff site "" Different font formats FontForge supports Type1, truetype, opentype, cff, type42, cid-keyed and svg fonts, also bdf and NFNT for bitmaps FontForge will sort-of accept metafont files (essentially it runs
On Sat, Mar 27, 2010 at 11:36 AM, Arthur Reutenauer
That being said, I realize that it means Metafont fonts can't be used in Mark IV, am I right?
true --- for now. -- luigi
On Sat, Mar 27, 2010 at 11:43:58AM +0100, luigi scarso wrote:
may we can be package them in an otf format
Right, OpenType can embed bitmap fonts (even TrueType could, if I'm not mistaken);
On Sat, Mar 27, 2010 at 11:36 AM, Arthur Reutenauer
wrote: true if the font is only available as PK, it should be possible to make it into an OpenType font, using FontForge, for example. I'm not sure maybe with mftrace http://lilypond.org/mftrace/
I would imagine one day luatex being able to read metafont fonts's, pass them through mplib to generate splines then through fontloader to build OpenType fonts out of it, so one can still use metafonts metaness with the complex layout feature of opentype and it vector fonts. But given how few metafont fonts is (and only one family is really a "meta" font), the effort seems not so worthy. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
Arthur Reutenauer wrote:
may we can be package them in an otf format
Right, OpenType can embed bitmap fonts (even TrueType could, if I'm not mistaken); if the font is only available as PK, it should be possible to make it into an OpenType font, using FontForge, for example.
The chance of this working is minimal. For certain, I have never tested bitmapped opentype fonts, and I also am sure that subsetting won't work at all. Also, I am even less interested in bitmapped opentype fonts than I am in pk files.
That being said, I realize that it means Metafont fonts can't be used in Mark IV, am I right?
Dumping a ready-made pk file in the local directory worked last time I tried it. Best wishes, Taco
On Sat, Mar 27, 2010 at 11:36:22AM +0100, Arthur Reutenauer wrote:
may we can be package them in an otf format
Right, OpenType can embed bitmap fonts (even TrueType could, if I'm not mistaken); if the font is only available as PK, it should be possible to make it into an OpenType font, using FontForge, for example.
No, neither OpenType or TrueType support bitmap-only, they can embed bitmaps besides the regular outlines (X11 have there own OpenType bitmap-only format, but it isn't a standard). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
No, neither OpenType or TrueType support bitmap-only, they can embed bitmaps besides the regular outlines
Thanks for the precision, Khaled. I have to admit I never looked into the details, I only knew one could embed bitmaps, but it seems I extrapolated a bit. Arthur
participants (7)
-
Arthur Reutenauer
-
Hans Hagen
-
Hartmut Henkel
-
Khaled Hosny
-
luigi scarso
-
Taco Hoekwater
-
Wolfgang Werners-Lucchini