true-type-fonts

What is the difference between TrueType fonts and Type-1 fonts?

What is the difference between TrueType fonts and Type-1 fonts? ...

How to get a list of installed True Type Fonts on Linux using C or C++?

How can my app get a list of the True Type Fonts that are available on Linux. Is there a standard directory where they are stored across different distributions? Or some other standard way to locate them? ...

Symbian C++ - Use a TTF font in your application?

Hi Is it possible to package a .TTF file in your application and use it to render text at runtime, and have the application release the font after use? I've found bits of information scattered around the forum, but nothing conclusive. Can anyone offer any advice? ...

php and true type collection in gd

I try to use a true type collection "gulim.ttc" with 4 fonts in the GD libary. Like this: $font = "fonts/gulim.ttc"; imagettftext($im, 20, 0, 0, 25, $white, $font, $string); The Problem is, PHP/GD only uses the first font from the ttc-file but I need the third one called "Dotum". Or, is there a way to extract or convert the ttc-file...

Corrupt TrueType Font Detection

I am at present dealing with a corrupt TrueType font. Programs available to me tell me there is a problem with the maxp table -- the maxContours member has a value that is too large. Is there a sure-fire way to detect when a maxContours value is too high or too low (yes that too can be a problem)? (Fonts are programs so one way to detect...

How do I calculate PDF leading from TTF?

The PDF specification defines a text operator called ' (apostrophe). The definition is that it writes out some text, and moves to the next line based on the current leading state. The current leading state can be set using the TL operator. This makes it very easy to write lines of text if you know how much they should be spaced apart ...

Font problems with GDI+

I'm having trouble with some ttf fonts not working in GDI+. I cannot seem to find any differences between some of the working and non working fonts. Some can be read and rendered without a problem. For some fonts GDI+ just reports the file as missing (which it is not). Something must be wrong with the format but I cannot for the life of ...

Combine several bitmaps into (TrueType) font

I have several (~200) small bitmap files with glyph images. How can I combine them to a single bitmap font file? Actually, I need a TrueType font created from these bitmaps (with no curves, smoothing, vectorization or any transformations). It's a designer 'pixel' font, so it should have rough pixel edges and so on. ...

Best way to generate a custom document?

Hi, I am working on generating a document for printing. It should use a specific TTF font and everything must be printed with vector graphics (for quality). Some of the text should be replaced automatically (e.g. current time). Also it should include a custom-generated EPS image with a chart. Ideally I would like to have some kind of do...

Font smoothing in Delphi

I had cause to need a label with a large font on a Delphi form and noticed that its curves were still slightly jagged. I compared this with the same size and font in MSWord which was much smoother. After research I found code that allowed me to smooth my fonts but it's messy and I was wondering if there was a better way? Looking in t...

How to determine if a TrueType font is italic?

How can I determine if a TrueType file is italic? Ideally this would be a way via PHP, Ruby, or the linux command line. I am currently running ttf2pt1 to generate an afm file for the ttf file, and the afm file clearly shows the weight of the font, indicating to me if the font is Bold, but I can't find out how to determine if the font is ...

How do you change the name of a .ttf font

How do you change the name of the font embedded in the .ttf file? (It's for a device that's expecting a hard coded font name that I'd like to swap w/ another more readable openly licensed font). I'd prefer a method which I can implement myself rather than installing a program. ...

Getting Crystal to properly embed TT fonts in a PDF

Has anyone run into problems getting Crystal XI to embed fonts when displaying reports via the web (served by RAS) and then exporting to PDF? We have a barcode font that we use in a few reports, and it worked fine via the web viewer and when exporting to PDF. When we moved our reporting server from a 2000 box to a 2003 box, the font is...

Visual Studios: Getting standard font... files?

I've run into another problem while fixing up my game to use this library. SDL.NET, the library I'm using for graphics and input in my VB.NET app, has its own special Font class which is entirely separate from System.Drawing.Font. Here are its two constructors: public Font(string fileName, int pointSize) public Font(byte[] array, int p...

TrueType font antialiased? Bitmap fonts

I'm using this tutorial, but the font isn't antialiased. The font size is big, so it should antialiased it, but it doesn't. Do I need to enable something in openGL to make it antialiased? ...

Font name not found on Linux

In Java I have code that works well on OSX but not in linux. This code loads a font file and uses Font.createFont(). Here's the code: log.debug("Loading ttf file AmericanTypewriter.ttf"); InputStream americanTypewriterInputStream = MyClass.class.getClassLoader().getResourceAsStream("AmericanTypewriter.ttf"); log.debug("File AmericanType...

Convert TrueType Font (or JPG image) to PNG image with Alpha Transparency in .NET?

Anyone know how to convert either a TrueType Font or JPG image into a PNG image with Alpha Transparency in .NET? I basically want to create a script-looking signature image that has a transparent background so that I can programmatically add that png signature into PDF documents after they've been created. I can do this with a normal J...

writing a font viewer - getting font properties, loading ttf dynamically

I'm trying to write a font viewer for TrueType / OpenType fonts with VB6 / VB5 code (under Windows). it is surprisingly difficult: 1) in VB / winAPI, i did not find how to extract the font's name, or font properties in general. 2) i can install the font (using AddFontResource API function), but then have to uninstall it. However, whil...

Ready solution for manipulate images.

I'm searching for a class or function, to convert, add borders and text (using ttf fonts) to an uploaded image before the image is saved on the server. Do you know something? ...

How do I determine the "narrowest" font on Windows?

Hello I am looking for a way to find the font that uses the least average horizontal space per letter, since I have a few buttons in my application that need to show a rather long text in it, and the goal is to make the buttons with the minimal width necessary. Since I already know the environment where the application is going to be ...