Skip to main content

Questions tagged [metafont]

{metafont} is a system for specifying fonts.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Identifying and Using Different Fonts

New to Latex here. Could you please advise on how to load different kinds of fonts, instead of the regular/default one? Anybody could guide me on how to use it by myself? I checked on i2pdf.com and ...
Imanoff's user avatar
1 vote
0 answers
46 views

Where to begin learning? [duplicate]

I am a designer that has recently discovered this very interesting side of typesetting and typography design. Through this discovery, I am however very lost, as the family of all the programs combined ...
dougn's user avatar
  • 21
1 vote
0 answers
23 views

Faded pdf with same code [duplicate]

I excute the same code with the same preambule on the same machine with the same engine (pdflatex): \documentclass[12pt,a4paper,english]{article} \usepackage{cmap} \usepackage{mathtext}...
kissmemiau's user avatar
1 vote
0 answers
70 views

What does begingroup/endgroup actually do?

I've started to notice that all my MetaPost/MetaFun figures are surrounded by begingroup ; endgroup ; Probably because I put that here when I wrote my snippet... But the fact is, I never actually ...
q6tDCWto's user avatar
1 vote
1 answer
34 views

Change spaces between integrals in esint

I would like to change the spaces between integral signs in esint package. I found the following in their documentation: You can customize the space between integral sign in multiple integrals. You ...
Luca.b's user avatar
  • 113
0 votes
0 answers
62 views

Missing font: I can't find file `pcrr8t'

Building a Doxygen auto-generaten latex file, I am getting: kpathsea: Running mktextfm pcrr8t /usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Could not map source abbreviation for pcrr8t. /usr/...
emacs drives me nuts's user avatar
1 vote
0 answers
73 views

Creating Mutli Colored Font

I am playing around with the igo package to create notes on the game of Go. Under the hood, it seems like the igo package computes a font for all of the symbols on the board, and simply prints a block ...
Jason Miller's user avatar
36 votes
3 answers
14k views

Possible to dot your Is with hearts?

I was wondering if it is possible to replace just the mathmode i from the default latex font with nearly the same letter, but where the dot on the i is a small heart. For example: Thank you!
Infimum's user avatar
  • 515
3 votes
1 answer
91 views

How to use the penpos/penstroke inside a parametrized macro?

I am trying to create parameterized macro to draw a shape with penpos and penstroke macros in MetaPost (Metafont?) with plain.mp base but I am getting a error. Running the code below, def curve_st(...
sigsegv's user avatar
  • 645
1 vote
1 answer
79 views

How to loop through ligtable in Metafont?

In roman.mf the kerning is defined for the Computer Modern Roman fonts. I would like to write the ligtable definitions more efficiently but everything I try is wrong: % With macro def group_kerning(...
Weißer Kater's user avatar
4 votes
1 answer
101 views

Simplify code for a < sign in Metafont

As I am a beginner in Metafont, I am still not sure if my code is efficient. I would like to replace the Computer Modern's less than sign by a new one, which has rounded corners. I found 2 ways: The ...
Weißer Kater's user avatar
4 votes
1 answer
114 views

Sharp corners in Metafont?

The source code of the Computer Modern slash is: cmchar "Virgule (slash)"; beginchar("/",9u#,body_height#,paren_depth#); italcorr body_height#*slant-.5u#; adjust_fit(0,0); pickup ...
Weißer Kater's user avatar
1 vote
0 answers
51 views

Wrong results with mf2pt1

I tried to make a vector font font of the Metafont sources of cmr10, but look ... The are only some correct glyphs, almost everything looks wrong. mf2pt1 cmr10.mf Can you tell me what went wrong? ...
Weißer Kater's user avatar
2 votes
1 answer
56 views

How to treat files generated by mfplain?

Metapost can treat Metafont sources with mfplain. Example: mpost -mem=mfplain cmr10.mf Then each glyph is output in separate file like this: cmr10.0 cmr10.1 cmr10.2 ... I cannot find any tutorial ...
Weißer Kater's user avatar
1 vote
0 answers
79 views

Computer Modern Prototype Numbers

When I read Mathematical Typography, I noticed that the prototype font presented (the predecessor of the Computer Modern font family) had different numbers (bottom). My question is, are there any ...
ScreenGems98's user avatar
5 votes
1 answer
233 views

Bisectors the good old compass way

I am trying to reproduce the construction of bisectors with compass. Here is what I managed to get so far vardef bisector(expr A, O, B, r) = save arc, E, F, I; path arc[] ; pair E, F, I[]; % ...
user avatar
2 votes
0 answers
52 views

How do I draw a new character that is consistent with the rest of the cm family?

I want to design new characters (mainly ornaments but also mathematical symbols) for the CM modern font family using METAFONT. What is the best way to achieve consistency with the rest of the family? ...
user avatar
3 votes
1 answer
112 views

Determine whether a path in Metapost/Metafont is a line

Given an already defined path p in Metapost/Metafont: How can I determine whether a segment like subpath (0,1) of p is a line? I am aware that I can simply check if the control points lie on the line (...
Linus Romer's user avatar
2 votes
3 answers
624 views

Unable to get the japanese character Hiragana "yo" in PdfLaTeX using TeXstudio

How do I install the Japanese dmjhira font in MikTex 2.9? I am trying to do the same task as mentioned in the above question. My goal is to produce the Hiragana "yo" character in my latex ...
Someone's user avatar
  • 135
1 vote
1 answer
163 views

Producing a thin version of Computer Modern by tweaking the Metafont parameters

I am hoping to produce a custom version of all Computer Modern glyphs, where the parameters are tweaked such that the pen strokes are very thin (essentially no filling, just central skeleton strokes). ...
user14020101's user avatar
1 vote
0 answers
177 views

Computer Modern vector fonts with meta-ness

Has anyone completed or seriously attempted a translation of the Computer Modern MetaFont sources into MetaType1 code that retains the family's meta-ness (i.e., ability to generate new fonts by ...
RobertR's user avatar
  • 379
3 votes
0 answers
241 views

How to make a "Computer Modern Medium" font?

In [La]TeX documents printed in the early 1980s, fonts look noticeably thicker than they do today. Something about the advent of modern laser printers and the disappearance of older printing ...
Thomas Blankenhorn's user avatar
0 votes
0 answers
101 views

Running Metafont in TeXLive in Windows

I have a user defined font, created with a small collection of .mf files. I am using this font for many documents and work on them using TeXLive in Windows. I did not create the user defined font, ...
BobA's user avatar
  • 1
0 votes
0 answers
71 views

Error trying to load Metafont

I ranmf in terminal and got this error. Does anyone know how to resolve it? Context: I installed Metafont from the standard MacTex install. Thank you! dyld[759]: Library not loaded: /opt/X11/lib/libSM....
zmkm's user avatar
  • 379
2 votes
1 answer
76 views

Can anyone familiar with Metafont help me sort this out?

I tried to use Metafont to output a lowercase letter i, but the result was lamentable. It was almost as if the unit of measurement inside a character definition is different from outside. Regular.mf ...
Weijia Fang's user avatar
5 votes
1 answer
211 views

Metafont/Metapost — Find a path tangent through the external point

Assuming that I have the path P given, and let the T be a point outside the path P. Is there an easy way to find the point X on the path P such that the tangent on point X going through the point T? ...
Урош's user avatar
  • 323
1 vote
0 answers
65 views

METAFONT bitmap latin glyphs

I'm building a font format that integrates multiple point size bitmap glyphs. On eInk monochrome displays, bitmap fonts are still the best way to get reasonably good characters. I've been able to use ...
Guy's user avatar
  • 11
0 votes
0 answers
35 views

METAFONT failed for unknown reasons [duplicate]

I encounter with a METAFONT error while compiling Latex file (with beamer package). Some people in this community also faced it, but proposed solutions were useless (updating Miktex & refreshing ...
Konstantin's user avatar
4 votes
1 answer
75 views

Custom PK-file is not accessible for DVI-driver

I try to understand how new fonts are created. I drew my stylized letter 'L'. Then I programmed it in Metafont (MyL.mf). mode_setup; fontmaking:=1; pixels_per_inch:=600; beginchar(&...
Vladimir's user avatar
  • 609
3 votes
1 answer
130 views

metafont mode dpdfezzz

I'd like to look at the pk files metafont generates, in particular at their maximum resolution i.e. 8000dpi. I know that this is possible performing mf \mode=dpdfezzz; mode_setup; \input filename.mf; ...
Martino's user avatar
  • 1,400
0 votes
2 answers
872 views

most tfm fonts are not found

I had the same problem with texlive 2020 and did a full installation of texlive 2021: \font\tenrm=mdugmm7y at 10pt \tenrm Hello World! \bye doesn't work with tex, pdftex, xetex or luatex. All of ...
M0M0's user avatar
  • 423
0 votes
0 answers
77 views

Extracting formulae from TeX/ Metafont

I wish to create a program outside of Metafont that creates letters mathematically. In researching any available resources, I have found Metafont as a language to create 'mathematically described' ...
Exporer's user avatar
4 votes
0 answers
100 views

METAFONT MiKTeX doesn't relax [closed]

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 ...
User's user avatar
  • 2,530
3 votes
1 answer
224 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= ...
User's user avatar
  • 2,530
1 vote
0 answers
57 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 ...
Don Hosek's user avatar
  • 14.2k
1 vote
1 answer
76 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, ...
Faridaghilasse's user avatar
2 votes
1 answer
257 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 ...
baptiste's user avatar
  • 155
3 votes
2 answers
1k 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 ...
Simon R.'s user avatar
1 vote
0 answers
156 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....
nadder's user avatar
  • 249
2 votes
1 answer
283 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 ...
Abdallah's user avatar
  • 543
6 votes
1 answer
832 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. ...
baptiste's user avatar
  • 155
3 votes
1 answer
308 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} \[\...
Sebastiano's user avatar
  • 56.8k
6 votes
2 answers
874 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 ...
Niels Wer's user avatar
3 votes
1 answer
2k 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-...
Johnny Canuck's user avatar
6 votes
3 answers
2k 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 ...
Skydiver's user avatar
  • 977
0 votes
0 answers
163 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 ...
Furdzik Zbignew's user avatar
1 vote
1 answer
1k 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 ...
Eric's user avatar
  • 683
2 votes
1 answer
89 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 ...
Yaacov NNNNM's user avatar
1 vote
1 answer
153 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,...
Makogan's user avatar
  • 885
0 votes
0 answers
143 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 ...
Jonathan Nordmann's user avatar