You are not logged in.

#1 2018-11-16 21:25:57

Poetastrophe
Member
Registered: 2017-11-08
Posts: 1

[SOLVED] Groff not producing correct squareroot-sign

Just started out using groff, and when i run the simple file

example.ms

.EQ
sqrt{ var(X) } = 50 cdot sqrt{3}
.EN

with

cat example.ms  | groff -Tpdf -e -ms > master.pdf

The master.pdf contains the following
screenshot.png

Edit:
It seems to have to do when converting the groff output to a pdf file. Because the squareroot sign is displayed correctly in the postscript file produced by:

cat example.ms  | groff -e -ms > master.ps

But if I then convert the master.ps to master.pdf with the ghostscript command ps2pdf I get the same wrong glyph as shown in the picture above.

Edit: Solved!
The problem had to do with some fonts installed some time ago in ~/.share folder, which it used. Deleting this folder fixed the problem.

Mod note: please read the Code of Conduct regarding acceptable image sizes. -- WorMzy

Last edited by Poetastrophe (2018-11-20 17:34:21)

Offline

Board footer

Powered by FluxBB