Giter Club home page Giter Club logo

gffgroff's Introduction

gffgroff

GNU FreeSerif font for groff and GhostScript, so you can output to any groff output device and any GhostScript output device with FreeSerif font.

INSTALLATION

Run the isntall script with sudo privilages.

A few words

I wanted to type and output in greek in my groff documents, outputing in PostScript. After compiling the greek documents, all I got was nonsense characters, thanks to the non-existant support for complete utf-8 by groff's default fonts. After looking in the internet for a fix, the answers I got were not exactly what I was looking for, as I didn't want to install anything new to my computer. Using the -Kutf8 parameter, I was able to replace the nonsensical characters with the greek that I have typed, but it was looking kinda funny, because some of the characters were in Italic, and some not, in the same word. The reason for that, was that groff was using the Symbol font for the greek characters and it had some undesireable glyphs. The way to overcome that was installing a font with utf8 support. So I decided on FreeSerif due to the way it looks and the high quality support for utf8. The way I achieved the outcome I wanted was converting the odf files that are installed on /usr/share/fonts/ on my computer to afm and pfa through a website on the internet, and then using afmtodit to install them for groff in the /usr/share/groff/current/fonts/ directory to use. The only thing that was left was placing the .pfa files in the appropriate Ghostscript directory.

gffgroff's People

Contributors

sonjiku avatar

Watchers

 avatar

gffgroff's Issues

bad kern amount

I installed the font and tried used by:

.ds FAM FSE

.TL
Notes
.AU
Oz
.AI
Escuela 
.Ai
Instituto 

.NH
Coeficientes de Furier

This is romatic \[u1E6C]

.EQ
a sub n = 1 over L
int from -L to L {
f(x) cos {k pi x } over L
} dx,

n ∈ ℕ
.EN

And compile it by
groff -e -Kutf8 -ms -Tps -F font n.ms > n.ps

I got the errors

/usr/share/groff/1.22.4/font/devps/FSER:6736: error: bad kern amount '=30'
troff: n.ms:2: warning: can't find font 'FSER'
troff: n.ms:15: warning: can't find special character 'u0054_0323'
troff: n.ms:135: warning: can't find special character 'u2115'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.