A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [metafont]

{metafont} is a system for specifying fonts.

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
0answers
917 views

Script for using metatype to convert metafont to TTF?

In the metatype FAQ, there's a section called "I have Metafont sources of some font. How could I convert it to TrueType using Metatype?" In that, he lays out a dozen steps that really should be ...
7
votes
0answers
202 views

How to define a sort of reference in METAPOST?

Assume we are defining a canvas abstract data type in METAPOST, where some tasks are gathered. I would like to define a kind of reference to the last added task, but I do not know METAPOST good enough ...
4
votes
0answers
305 views

How to compile thicker OTF version of Latin Modern fonts?

Computer Modern fonts, when printed from a pdf generated by pdflatex, tend to produce rather thin lines. The way to solve that problem has been described here through the use of the blacker parameter. ...
3
votes
0answers
184 views

Running Metafont interactively

I tried the first experiment in chapter 5 in the Metafontbook: ran mf, typed \relax and drawdot (35,70); showit;. This opened a window entitled Metafont, but containing nothing. What's missing? ...
3
votes
0answers
337 views

Save Feynman diagram files in a subfolder

Suppose one has a simple Feynman diagram, such as the following MWE (which has to be run with -shell-escape, I guess this is to allow compilation to "escape the shell" to run metapost). \...
3
votes
0answers
193 views

Processing metafont source with metapost

I have a file say test.mp that contains: outputtemplate := "%j-%c.eps"; mode=localfont; mag=100.375; input cmr10.mf; When I run mpost as follow: mpost&mfplain test.mp Some of the glyphs ...
2
votes
0answers
44 views

How do I get mflua to work?

I found a programme named mflua, that said: $ mflua MFLua version: 0.9.1 MFLua banner: This is MFLua, Version 2.7182818-0.9.1 This is MFLua, Version 2.7182818-0.9.1 (TeX Live 2019) (preloaded base=...
2
votes
0answers
43 views

METAFONT: When a letter is mostly repetition of another

I added a couple of letters to the logo font. beginlogochar("C",14); x3=leftstemloc; x1=x5=w-x3; x2=x4=.382[x3,x1]; top y1=h; y3=barheight; bot y5=0; y2=y1; y4=y5; draw z1--z2; draw z4--z5; ...
2
votes
0answers
72 views

How can I have pdftex with dvi output expand CM fonts with high quality?

The following output pdftex > dvi > ps shows the problem: This comes about as follows. First, I use the file \pdfoutput=0 \hsize=5truein \tenrm \pdffontexpand\tenrm 20 20 20 \pdfadjustspacing=2 ...
2
votes
0answers
178 views

Good gray font: Do metafont proofs have to look this bad?

The old gray seen in this question about gray.tfm has ... issues. shrink factor 8: shrink factor 9: So, even when using shrink factor 8, which given the 4x4 pixel pattern used for pixels in grayf....
2
votes
0answers
185 views

minimum steps to re-generate MF fonts

I started studying metafont. I created some basics MF, with a single char. I would like to modify existing font, but I see no 'makefile' that I can just use to tell the system 'just regenerate all ...
2
votes
0answers
891 views

Can't compile text file because of metafont?

i have a complex thesis template, which i can't seem to compile. This is the output of pdftex : (/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/grfext.sty) (/usr/local/texlive/2013/texmf-dist/...
1
vote
0answers
86 views

METAFONT expects file rather than a command

I was trying to carry out the very first and basic example in Knuth's book "the METAFONT book": I typed \relax and then drawdot (35,70); showit; HOWEVER, as the black part of the snippet show, "...
1
vote
0answers
82 views

AMS Euler, but slightly heavier using METAFONT?

I'm using a commercial body text font and I'd like to use a math font that matches it well. AMS Euler (from the eulervm package) matches its style nicely, but is slightly too light. I know AMS Euler ...
1
vote
0answers
36 views

how to convert metafont created fonts to PS 1 fonts

I have a font (for the script of my language) which was created using metafont. But as is the usual problem with 8-bit fonts it does not scale well. So I have had to create multiple tfm files for ...
1
vote
0answers
126 views

What to do to make Metafont stop emitting “! Emergency stop.” when i type \relax

Hello I have been trying to learn Metafont through the METAFONTbook, but when I try to use the \relax command it responds with: ! Emergency stop. I am using Metafont ver. 2.7182818 (MikTex 2.9....
1
vote
0answers
73 views

Metafont using more than 256 characters

How can I use METAFONT to make a font with more than 256 symbols? (Ideally these would be typed in LaTeX using a command.) Alternatively, can I define such a large number of symbols, built in METAFONT,...
1
vote
0answers
103 views

How to add space character in Computer Modern font

I am using METAFONT sources of Knuth’s cmr7.mf Com­puter Modern font. For converting this file into outline font, I have used mftrace. Everything works fine when i convert this .mf file into .TTF file ...
1
vote
0answers
67 views

circ package: multiple problems

I have multiple problems with circ package. if I install from repository everything seems ok. However during compilation LaTeX says unknown METAFONT error or so. Then I decided to compile fonts as ...
1
vote
0answers
118 views

metafont crashes when using showit

[Updated] I am interested in using metafont, and working through the initial steps. When I use the simple command drawdot (35,70); showit; a blank (white) window is opened with the title "METAFONT ...
1
vote
0answers
144 views

allrunes package installation

I got the allrunes package but it only has the metafont source. I'm on mobile so I can't build the .tfm files myself. I also can't use a fancier LaTeX compiler than the one I have. Does anyone know ...
1
vote
0answers
138 views

Specifying MF mode (to autogenerate fonts) for a specific printer

In Metafont the mode definition is used to define dpi and printer specific adjustments on generating the pixelized character images to use for printing. How could I specify the mode (from a mf file) ...
1
vote
0answers
59 views

Substitution of a couple of math-greek font files only within cmr family

I am trying to use (XeLaTeX) with fonts MinionPro but for greek letters in math mode only I am substituting cmr math greek instead of Mignon (or MNSymbol) using commands such as: \usepackage[mathlf]{...
1
vote
0answers
73 views

order of ligature in metafont

How are ambiguities in ligature resolved by metafont ? Say I have ligtable letter1 : letter2 =: letter12; ligtable letter2 : letter3 =: letter23; If a sequence "letter1 letter2 letter3" appears, ...
1
vote
0answers
147 views

ligtable in metafont

I would like to combine three characters, should they appear consecutively, and replace the three with a single glyph (which is pre-defined). Is it possible to use ligtable to do it in a metafont file ...
1
vote
0answers
58 views

How can I change the viewing settings on OzMF?

I've been learning how to use MetaFont, and I found the program OzMF, which I like. However, when I type mode_setup beginchar(65,10pt#,10pt#,0pt#) pickup pencircle scaled 0.2pt; z1=(0, 0.5h); ...
0
votes
0answers
27 views

dvipng fails because font file ends prematurely

I am trying to compile a file via Anki but am able to reproduce the following using just the temporary intermediate files. I have a file tmp.dvi which I'd like to turn into a png file using dvipng. ...
0
votes
0answers
40 views

Editing a script in cursive format

Good morning, everybody, Well, I'm a beginner and it's really hard to find what I'm looking for. Please let me know if anyone knows how to modify the script below that would allow me to write the ...
0
votes
0answers
40 views

Using DTX Metafonts as system fonts

Dear Stack Exchange team, I am a relatively inexperienced user of LaTeX who is currently working on a project which also requires the use of an image editing tool, in this case GIMP. As I would like ...
0
votes
0answers
77 views

How to disable `mktexpk` in `dvips`?

Consider this ex-14-5.mf: mode:=ljfour; % 600dpi for dvips (you must run "gftopk") mode_setup; beginchar("e",10pt#,7.5pt#,2.5pt#); pickup pencircle scaled (.4pt+blacker); draw fullcircle scaled .2w ...
0
votes
0answers
122 views

Variable size MnSymbol ullcorner vs. lsem

Running LaTeX on the code below generates this output: The point is that the \lsem and \rsem brackets extend indefinitely, while \ullcorner and \ulrcorner seem to only extend for two lines. Does ...