Questions tagged [truetype]

TrueType fonts are the major scalable font format designed by Apple. The TTF rendering engine can be found on many platforms including Apple's OSX, Microsoft's Windows, Linux, and inside of printers.

TrueType is a scalable font developed by Apple Computer in the late 1980s. It supports both kerning and pixel-level hinting. It has supplanted Adobe's PostScript Type 1 fonts. The format itself is comprised of a series of tables containing information about the character outlines, spacing, kerning, hinting, and composing.

Resources:

913 questions
171
votes
8 answers

How can I extract embedded fonts from a PDF as valid font files?

I'm aware of the pdftk.exe utility that can indicate which fonts are used by a PDF, and wether they are embedded or not. Now the problem: given I had PDF files with embedded fonts -- how can I extract those fonts in a way that they are re-usable as…
simplybest55
71
votes
13 answers

Finding out what characters a given font supports

How do I extract the list of supported Unicode characters from a TrueType or embedded OpenType font on Linux? Is there a tool or a library I can use to process a .ttf or a .eot file and build a list of code points (like U+0123, U+1234, etc.)…
Till Ulen
  • 1,449
  • 1
  • 13
  • 16
60
votes
12 answers

Matplotlib cannot find basic fonts

I am using matplotlib version 2.0.0 on Python 3 in a miniconda virtual environment. I am working on a unix scientific computing cluster where I don't have root privileges. I am generally executing python code through an ipython notebook. If I do a…
dylkot
  • 1,703
  • 2
  • 16
  • 23
59
votes
3 answers

Using custom font in a UIWebView

I would like to display a custom font inside a UIWebView. I have already put the font in the plist under "Fonts provided by application". The code in use: UIWebView *webView = [[UIWebView alloc] initWithFrame:myRect]; NSURL *baseURL…
Joris Weimar
  • 3,966
  • 3
  • 29
  • 48
48
votes
6 answers

How to convert text to SVG paths?

I have a font in ttf file and want to generate SVG with text turned into paths. I don't need image (so using imagettftext or Image Magick font rendering capabilities is not enough), I need shape, that can be scaled up and down and I want to lose…
LukLed
  • 30,174
  • 17
  • 80
  • 106
46
votes
6 answers

Custom UIFont baseline shifted

I'm having a problem with custom UIFonts. I load 6 of them (font A in regular/bold/regularItalic/boldItalic, font B in condensed/condensedSlanted variants). However, here is what it gives when rendered: The two first rows are OK, but the last one…
Cyrille
  • 24,430
  • 12
  • 61
  • 87
44
votes
6 answers

Convert or extract TTC font to TTF - how to?

I am already more than 8 hours trying to make the STHeiti Medium.ttc.zip font work on Windows. But I can't make it work. Is anybody able to make it work on Windows?
Pikk
  • 1,247
  • 2
  • 10
  • 19
41
votes
5 answers

TrueType Fonts in libGDX

Does anyone know how I can use a TTF font in libGDX? I have looked around and have seen things about StbTrueTypeFont but it doesn't seem to be in the latest release. EDIT: I found the StbTrueType font stuff, the jar file is located in the extensions…
Alex_Hyzer_Kenoyer
  • 1,301
  • 3
  • 17
  • 23
40
votes
7 answers

How to convert WOFF to TTF/OTF via command line?

I know about services like Online Font Converter, but I am interested in offline solution, preferably over command line. Does anyone know a tool or workflow how to convert WOFF to OTF/TTF offline?
Jonas Lekevicius
  • 691
  • 1
  • 6
  • 9
34
votes
2 answers

Creating a Truetype Font file with javafx

I have a canvas. It asks the user to draw a character from A-Z, a-z or 0-9. once the user draws a character say A, the current canvas object is saved in an arraylist of canvases. and another blank canvas pops up that asks the user to draw B. and so…
Aditya Singh
  • 2,275
  • 1
  • 17
  • 38
33
votes
5 answers

How do I use TrueType fonts with LaTeX

I need to use a font family in my LaTeX documents, that is available as 18 .TTF (TrueTypeFont) files. Where do I have to copy the files in my MiKTeX 2.8 installation? How Do I make the fonts available for LaTeX? I usually use pdfLaTeX. I read in…
harper
  • 12,491
  • 6
  • 49
  • 95
32
votes
6 answers

Default font set on Android

Can anyone tell me what are the bundled fonts on most Android devices, specifically for web pages? Just like Windows has their bundled fonts or Mac font lists, what are the fonts that come with most Android phones and tablets? Can anyone point to a…
Amy
  • 1,340
  • 3
  • 11
  • 22
32
votes
7 answers

Way to reduce size of .ttf fonts?

Is there any way to reduce the size of the .ttf fonts? i.e. if we want to remove some glyps which we are not using.
Ajay
  • 9,167
  • 7
  • 29
  • 34
31
votes
2 answers

What is the status of TTF support in Internet Explorer?

I'm trying to determine the status of support for the TTF font format on Internet Explorer. (I don't have any Windows machines on hand to try it with.) The table at caniuse states that IE from version 9 onwards supports TTF but "only working when…
JC Hulce
  • 1,505
  • 2
  • 13
  • 23
31
votes
2 answers

Creating icon fonts with vector software (i.e. inkscape) and fontforge?

Through getting some answers here and some research, I've come across a new approach to implementing icons. Rather than as images or css background, it seems you can approach icons as a font. Will this method ultimately mean creating a one file font…
jstacks
  • 2,329
  • 7
  • 30
  • 47
1
2 3
60 61