Questions tagged [metafont]

{metafont} is a system for specifying fonts.

Filter by
Sorted by
Tagged with
1
vote
0answers
66 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
54 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
98 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
70 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
38 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
49 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
41 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
33 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
65 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
70 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
64 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
63 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
80 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
68 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
32 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
90 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
77 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
84 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
71 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
242 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
111 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
593 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
69 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
93 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
106 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
64 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
214 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
260 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
323 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
174 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
645 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
504 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
122 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
114 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
132 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
534 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
179 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
160 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 ...
2
votes
1answer
170 views

How Computer Modern is stored on my hard drive, or when is it generated?

How exactly is the font Computer Moder stored on my hard drive? I know that Computer Modern was designed using METAFONT and that METAFONT only outputs bitmaps. So does my hard drive actually just ...
4
votes
2answers
151 views

Spurious line on `endash' and `emdash' metafont characters?

Run the following commands: mf cmr10 mktextfm gray gftodvi cmr10.2602gf Last two characters have a vertical line on the right. What is that?
3
votes
1answer
316 views

Metafont for Mac in terminal [closed]

I installed MacTex with Metafont, but when I went to call the program in the terminal by typing mf, I got this error : dyld: Library not loaded: /opt/X11/lib/libSM.6.dylib Referenced from: /Library/...
2
votes
1answer
173 views

Is there an ancient Greek metafont font?

Are there any metafont fonts that can be used to typeset classical Greek?
4
votes
1answer
445 views

How to generate a bitmap using TeX (with bitmap fonts)?

This may be a strange question, as it is something most users do not want. I would like to typeset some text with TeX, and get the description of the typeset page as a bitmap: a sequence of 0s and 1s ...
1
vote
0answers
126 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) ...
3
votes
1answer
460 views

how much is Metafont used these days?

Is it really all about TeX (and friends) these days, or does MetaFont still enjoy some use---even if that's in limited contexts? It seems that for all intents and purposes, we're essentially at ...
11
votes
2answers
2k views

How to write like old mathematical papers

Every time I read an old math paper, I'm pretty exited about how perfectly it looks. See this PDF, for example: Everything, though a not-so-perfect-scan, somehow looks "real" to me. It's the little ...
1
vote
0answers
129 views

“Smooth” Pen Stroke Intersection [closed]

I'm trying to design a font in METAPOST and/or METAFONT. Rather, more specifically, I'm trying to 'digitize' a particular font using METAPOST to emulate the shape. My goal is to use as natural an ...
1
vote
1answer
138 views

How do I install the Malvern font in Tex Live 2015?

I am attempting to install the Malvern font from Tug, and am running on Ubuntu 16.04. First off, if there is an automatic way to do this, please let me know what that might be. Second, I have ...