Questions tagged [metafont]

{metafont} is a system for specifying fonts.

Filter by
Sorted by
Tagged with
3
votes
0answers
72 views

METAFONT MiKTeX doesn't relax

This is what happens when I say \relax to MiKTeX's METAFONT, under Windows. On the TeXLive's version of METAFONT on Linux it behaves fine. Why is that? MiKTeX's MetaPost on Windows instead works ...
2
votes
1answer
126 views

Computer Modern not raster. Why?

The fonts produced by METAFONT should be raster rather than vector, as far as I know. The Computer Modern font is produced by METAFONT, hence it should be raster. The following code \font\testfont= ...
1
vote
0answers
31 views

GF specials and their attachment to characters

One for the obsolete file format anoraks—DEK doesn't seem to make this clear anywhere in the gftodvi source code—I think that GF specials apply to the character data that follows them and that ...
0
votes
0answers
18 views

Placing gray.tfm and gray.pk in their right place

After that the gray.fm was compiled successfully (gray font compilation failure), the next step is to put the gray.tfm and gray.pk files in their right place so that the DVI viewer detects and uses ...
1
vote
1answer
40 views

gray font compilation failure

while compiling the gray font using the default mode (ljfour), I get this message: "I can't write on file 'gray.log'...". The complete message is shown in the attached figure. In addition, ...
2
votes
1answer
63 views

Metafont glyph description processed by Metapost to return svg paths

I'm hoping to generate SVG paths for a large number of characters, and I wonder if this could be automated via Metapost. From what I've read, mpost ’&mfplain’ cmr10 will let mpost process a ...
2
votes
2answers
234 views

create Meta-Font

I know, you're supposed to only ask questions about very specific technical problems and this is not such a question. If you think that this post is inappropriate, please tell me so, by writing a ...
1
vote
0answers
85 views

Why does the blackboard letters of the amsfont msbm have strange chardx values?

The font msbm which can be found under fonts/source/public/amsfonts/symbols in texlive has strange chardx width values set. If I run mf "\mode=localfont; input msbm10" I get the file msbm10....
2
votes
1answer
63 views

Tikz: How to build a dashpattern with multiple colors?

Drawing inspiration from the question TikZ: Get values for predefined dash patterns, I would like to draw a node using a dash pattern that uses multiple color. The pgfmanual entry on dash pattern ...
4
votes
1answer
397 views

Math font as single stroke, no fill

I'm trying to create a hand-writing animation effect for video presentations. The standard open tool trick for this is to draw SVG paths and animate the dash pattern from 0 to the end of the path. ...
2
votes
1answer
89 views

“Pixel zoom” of an integral using amsart and esint

A simple question: I have this minimal working example where I use amsart with esint: \documentclass[11pt,oneside]{amsart} \usepackage{mathtools} \usepackage{esint} \begin{document} \[\...
6
votes
2answers
264 views

Randomized fonts for handwritten look

I created a Metafont font with a randomizer, such that each time I compile the font, it looks different. Using those fonts, I like to create handwritten looking parts in my document. I would like to ...
2
votes
1answer
1k views

sudden issue with METAfont | MikTeX

So, nary a problem for quite a while, but for some reason, today, when I try to use yap in MikTeX to look at a .dvi file, yap throws the following error, suggesting that modes.mf is missing. [Using 64-...
6
votes
3answers
1k views

Is it possible to replace the \mathbbm letters with less grainy ones?

Using the bbm package, one can generate letters that look like this: \documentclass{report} \usepackage{bbm} \begin{document} $\mathbbm{A}$ \end{document} As you can see, this has a really low ...
0
votes
0answers
80 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 ...
1
vote
1answer
378 views

METAFONT failed for some reason, unable to find transcript file

A simple latex document of mine is attempting to invoke the following, which fails $ miktex-makepk --verbose tcit0800 525 600 0+525/600 Trying to make PK font tcit0800 at 525 DPI... The METFAONT mode ...
2
votes
1answer
44 views

Have MetaFont read an arithmetic expression from a file

I know this is a question that possibly does not belong to pure TeX, as MetaFont is part of a project to which TeX relates, ie as part of building TeX. My question is as follows: I call MetaFont from ...
1
vote
1answer
68 views

Metapost how can you return values in a recursive function?

I am trying to code the recursive definition of B splines but I am stuck writing the recursion, my code won't compile because I am trying to assign "vacuous to numeric", According to online resources,...
0
votes
0answers
65 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 ...
6
votes
2answers
176 views

A METAFONT character

I successfully generated a METAFONT character by the program below. How do I use it in LaTeX/XeTeX. mf a.mf gftodvi a.2602gf a.dvi I.e. what packages should I use and how do I use "b" from that ...
4
votes
1answer
898 views

Knuth's 5 volume TeXbook A,B,C,D and E

Can I freely download the Knuth's 5 volume set books COMPUTERS and TYPESETTING in pdf and the source of TeX and {\sf METAFONT} that these book contain and a compiler for the sources that would ...
1
vote
0answers
92 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, "...
4
votes
1answer
78 views

Does metapost contain the penstroke abbreviation command?

Hello I am trying to use Metapost to create a font, and I have been using the Metafontbook to study, there it states that the penstroke command is a type of abbreviation command for the command fill ...
2
votes
1answer
143 views

Relationship between TeX and Metafont with parametric variations

In "The Concept of a Metafont" Donald E. Knuth explores in a visual way the possibilities of parametric variations. But I have some questions: Did he used TeX to typeset the article? Does TeX allows ...
2
votes
1answer
98 views

How to align text on baseline in MetaFun without using setMPtext?

I want to draw several pieces of text that should be aligned so I need to be able to place these texts according to their baseline. Looking at the MetaFun manual, pages 143-144, it is explained that ...
2
votes
0answers
84 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
1answer
76 views

Deleting a point in METAFONT

In METAFONT, run interactively, is it possible to give a new value to a point variable? If you just try to equate a point to a new point, the equation will be inconsistent with other equations. If ...
2
votes
0answers
45 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; ...
1
vote
1answer
51 views

Drawing part of a path in METAFONT

In METAFONT, is there a way to draw part of a path? If I have the programme mode_setup; em#:=10pt#; define_pixels(em); beginchar("a",em#,em#,0); z1=(0,0); z2=(w,h); pickup pencircle scaled .2pt; ...
2
votes
1answer
102 views

How can I get vector shapes from the METAFONT font `eiad` in 2019?

eiad is a font from a different era, and seemingly almost unusable today. I can't use it at all with XeLaTeX, and when I begrudgingly tried to use it with pdflatex, I get only an ugly rasterization, ...
1
vote
1answer
226 views

pkfix-helper shows METAFONT error (can't find file `ecsy')

I tried to use pkfix-helper, but I get a strange error from METAFONT. I'm MiKTeX and all packages are updated to the newest version. What does this error mean and how can I fix it? C:\Users\username\...
0
votes
1answer
159 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
2answers
87 views

Syntax rules for `variable`

I have last printing of MetafontBook (8th printing, Volume C). Since that printing (and hence since all other printings), two very curious corrections appeared in errata: 1) Question concerning this ...
6
votes
1answer
107 views

MetaFont: character dimension of unchanged glyphs change when adding new glyphs?

I have a very strange effect while debugging yhmath math fonts items. I am generating cmex10.tfm from cmex10.mf, and convert the tfm to pl file. Then I rename only rename the driver file to yrcmex10....
1
vote
0answers
105 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
58 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 ...
4
votes
1answer
110 views

How to compile example on p.138 of MetaFontBook?

Here is the example from MetaFontBook: beginchar ("A", 29mm# , 25mm# , 0); thick# := 2mm#; thin# := 5/4mm#; define_whole_blacker_pixels(thick , thin); forsuffixes $ = a, b, c: transform $; ...
3
votes
1answer
103 views

How should I typeset the names of the TeXbook and the METAFONTbook?

I want to refer to both the TeX book and the Metafont book in a document that I am writing. My attempt at typesetting the TeX book looks ok, but the other one is a bit of a disaster. Can anyone ...
3
votes
2answers
99 views

How to use previous points of a path to specify next?

Consider this test.mf: draw (10,20)--(10+100,20)--(10+100,20+50)-- (10+100+30,20+50)--(10+100+30,20+50-40); showit; end Is there a way in metafont/metapost to draw a line of given length in a ...
1
vote
1answer
81 views

Question about errata on page 171 of MetaFontBook

In errata there is this errata for page 171 of MetaFontBook: \bugonpage C171, line 16 from the bottom (06/18/02) \tenpoint \<loop>\is\<loop header>|:|\<loop text> {\tt endfor} I ...
8
votes
4answers
936 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. ...
21
votes
1answer
2k views

How long did it take for Donald Knuth to create/design the font family of CM?

I want to know how long exactly did it take for Donald Knuth to create/design the font family of CM? (please answer based on authentic references.) Did the designing process take more than 10 years ...
1
vote
0answers
180 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
2answers
2k views

Why are tfm files missing in the LaTeX rsfs package?

I try to solve my problem asked on stackoverflow about a python script which uses TeX to create matplotlib labels. see https://stackoverflow.com/questions/50875637/matplotlib-how-do-i-have-to-provide-...
1
vote
0answers
93 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
126 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 ...
0
votes
1answer
119 views

Why the MetaFont in Miktex always run errors?

I am trying the codewords of MetaFont textbook of D. Knuth many times with cmd in Windows. No matter the example files such as io.mf or even simple commands such as \relax, the outcome of those ...
1
vote
0answers
75 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 ...
2
votes
1answer
491 views

Get Times 4-Line Mathematics Series 569 in LaTeX

This question is related to my own question Including letters from other fonts Reading on the web, I found this pdf. In page 8, it shows a figure with the main characters of Times 4-Line Mathematics ...
3
votes
3answers
308 views

Bookhands (tgothic) package not rendering on Overleaf

I've downloaded the handbooks package from CTAN at https://ctan.org/pkg/bookhands, compiled only the tgothic package locally (latex tgothic.ins) and uploaded it to Overleaf. There I tried to render ...