Closed NargesSayah closed 5 months ago
@NargesSayah Could you provide a minimal reproducible input file that results in the described error?
@MarcoMueller Would you mind having a look?
@NargesSayah Could you provide a minimal reproducible input file that results in the described error?
@MarcoMueller Would you mind having a look?
Thank you for responding. This is the font.mf file that I'm using. It's one of your uploaded font files (bespoke) that I have edited and simply changed some of the font variables like height. font.zip
@NargesSayah we use mf2outline from @linusromer. mf2outline is a python script that converts METAFONT fonts to outline formats like OpenType. I recommend you install the package and give it a try. There is a documentation available. https://github.com/metaflop/metaflop-www/wiki/From-METAFONT-to-outline https://github.com/linusromer/mf2outline Kind regards Marco
@NargesSayah we use mf2outline from @linusromer. mf2outline is a Python script that converts METAFONT fonts to outline formats like OpenType. I recommend you install the package and give it a try. There is a documentation available. https://github.com/metaflop/metaflop-www/wiki/From-METAFONT-to-outline https://github.com/linusromer/mf2outline Kind regards Marco
Thank you @MarcoMueller for your response and for directing me toward mf2outline by @linusromer. I'll follow up with Linus for further support.
Cheers.
I am currently working on a project where I need to create OTF/TTF files of custom fonts after adjusting font parameters in the font.mf file. To achieve this, I am following the procedure outlined for designers, specifically using mftrace to trace the Metafont output.
However, it seems that the command to run Metafont is failing, and as a result, no .gf file is being produced, causing the subsequent file operations to fail. This problem occurs when I execute the following command:
Here is a snippet of the error message I am receiving:
The main error seems to stem from the gen_pixel_font function within mftrace, where the Metafont command does not successfully produce the expected .gf file. I have verified that both font.tfm and font.2602gf exist and are readable. Here are the details:
I have also run Metafont manually using the command:
which successfully generates font.600gf.
Could you provide guidance on resolving this issue?