P1I wrote:Hallo zusammen,
könnte mir bitte jemand erläutern, wie man ttf2cxf installiert und anwendet?
Vielen Dank
P1I
Kann nur eine kurze Anleitung für Linux anbieten.
Hier ist ein englischsprachiges Thema dazu:
http://www.ribbonsoft.com/rsforum/viewtopic.php?t=415Die Datei main.ccp muß noch mit folgende Einträge ergänzt werden
gleich am Anfang:
...
#include <iostream>
#include <math.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_OUTLINE_H
#include FT_GLYPH_H
....
dann die Zeile 152 ergänzen
fprintf(fpCxf, "\n[#%04X]\n", (uint) charcode);
Anschließend in das Verzeichnis von ttf2cxf wechseln und mit "make" das Compilieren starten.
Nach Aufruf von "./ttf2cxf" erscheint dann folgendes:
Usage: ttf2cxf <options> <ttf file> <cxf file>
ttf file: An existing True Type Font file
cxf file: The CXF font file to create
options are:
-n nodes Number of nodes for quadratic and cubic splines (int)
-a author Author of the font. Preferably full name and e-mail address
-l letter spacing Letter spacing (float)
-w word spacing Word spacing (float)
-f line spacing factor Default is 1.0 (float)