Questions tagged [metafont]

{metafont} is a system for specifying fonts.

Filter by
Sorted by
Tagged with
5
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
29 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
1answer
57 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
32 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
39 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
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
31 views

METAFONT solution gives still an error [duplicate]

I successfully generated a METAFONT character by the program below. How do I use it in LaTeX/XeTeX. mf aaa.mf gftodvi aaa.2602gf aaa.dvi I.e. what packages should I use and how do I use "b" from ...
6
votes
2answers
97 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 ...
3
votes
1answer
235 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
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, "...
4
votes
1answer
58 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
112 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
75 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
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
1answer
59 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
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; ...
1
vote
1answer
35 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
77 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
96 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
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
2answers
67 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
94 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
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 ...
4
votes
1answer
91 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
83 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
88 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
75 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 ...
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. ...
20
votes
1answer
1k 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
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....
0
votes
1answer
724 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
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 ...
0
votes
1answer
112 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
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 ...
2
votes
1answer
240 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
275 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 ...
5
votes
1answer
342 views

Hidden gems of Metafont that are still worth it?

I've read up on the conversion from METAFONT to OTF via mf2pt1 and FontForge. Are there some "forgotten" fonts where such a conversion would make sense? I'd rather use Latin Modern than try to do ...
1
vote
1answer
183 views

How does VFlib process .GF and .PK bitmap file formats?

Recently I made a small helping module in FreeType for my research work. This module is mainly responsible for processing a METAFONT input by client application. I used FTVIEW as my client application ...
12
votes
1answer
659 views

What is the purpose of CM Funny?

I have never really seen any detailed discussion by TeX users on the subject of Computer Modern Funny, despite how strange it is. Personally, I find that even with its eccentricities, CM Funny and CM ...
6
votes
1answer
582 views

Has someone created a capital Eszett character (ẞ) for Computer/Latin Modern Roman?

I have seen how someone was able to create a Bitcoin character for Computer/Latin Modern Roman although it is not a part of the font itself. The capital ẞ does not seem to be a part of Computer/Latin ...
4
votes
1answer
139 views

How can I see definition of an existing math symbol?

I want to create a symbol similar to \doublebarwedge from the package mathabx, with the wedge replaced by a triangle. Since I want to use both symbols, they should be as similar as possible (regarding ...
1
vote
1answer
2k views

How to set up Russian Cyrillic Times New Roman font in PdfLaTeX?

I need to set up Russian Cyrillic Times New Roman font in PdfLaTeX for whole document. My system: — Windows 10; — TeXStudio; — TeXLive; What I have already tried: 1) I installed the Russian ...
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 ...
3
votes
0answers
574 views

Minimal example of Metafont file and how using it [closed]

I need create simple utf-8 characters font with 4 glyphs. characters = a,ą,ā,ȧ I would like to use it in normal latex roman font (mixing standard rm font and my). Where is working minimal example of ...
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? ...
5
votes
1answer
168 views

How to overlay METAFONT proof mode over a PDF or EPS or TIFF?

Basically, I have a lot of drawings in a lot of files for a typeface revival I'm working on --- it's optically-sized, and I only have a couple of complete sets (from memory, 28 and 72 pt.) and only ...