fonts

how to embed a true type font within a postscript file

I have a cross platform app and for my Linux and Mac versions it generates a postscript file for printing reports and then prints them with CUPS. It works for simple characters and images but I would like to have the ability to embed a true type font directly into the postscript file. Does anyone know how to do this?? Also I can encode ...

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

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

How do you get a list of all the installed fonts?

Specifically in .NET, but I'm leaving it open. ...

Arial Font doesn't display properly in Mac

I have a flash movie with a dynamic text that supposedly is Arial, and in my windows machine it displays as Arial. But when I tried it in a Mac, it shows as something like Times New Roman. I tried every property available and can't seem to get it to show as Arial on the Mac. I found another movie I had that didn't have this problem, so...

Is there a way to programatically determine if a font file has a specific Unicode Glyph?

I'm working on a project that generates PDFs that can contain fairly complex math and science formulas. The text is rendered in Times New Roman, which has pretty good Unicode coverage, but not complete. We have a system in place to swap in a more unicode complete font for code points that don't have a glyph in TNR (like most of the "str...

How to make sure a font exists before using it with .NET

I have a VB.NET Windows Forms project that at one point paints text directly to onto the form at runtime. Before I paint with the font though, I want to make sure that the font and font-size exists on the user's machine. If they don't, I'll try a few other similar fonts, eventually defaulting with Arial or something. What's the best way...

How to add some non standard font to website?

Is there any way to add some custom font on website without using images, flash or some other graphics. For example, I was working on some wedding website, and I was found a lot of nice fonts for that subject, but I can't find the right way to add that font on the server, and how to include that font with css into the html. Is this possi...

Test if a Font is installed

Is there an easy way (in .Net) to test if a Font is installed on the current machine? ...

How to initialize Pango under Win32?

Having downloaded Pango and GLib from the GTK+ Project's Win32 downloads page and having created and configured a Win32 project under Visual Studio 2005 so it points to the proper lib and include directories, how do you initialize Pango for rendering to a Win32 window? Should the first call be to pango_win32_get_context()? Calling that ...

How do I effectively persist a .Net font object ?

Usecase: The user makes font customizations to an object on the design surface, that I need to load/save to my datastore. I.e. settings like Bold, Italics, Size, Font Name need to persisted. Is there some easy (and reliable) mechanism to convert/read back from a string representation of the font object (in which case I would need just o...

Installing a font on a client machine

I'm using Visual Studio 2008 and the built-in installation tools for a C# client application. How can I use this installer to install a font on the client machine (if it's not already there)? ...

What font size do you use in your code editor?

Not really interested in your actual point size as it depends on resolution and font, but rather if you prefer larger text that is easy to read, or small text so you can overview more lines of code. Personally, I keep bumping up the size the older I get. Is this something that you also have experienced? Do your IDE support easy zooming...

Java, unicode and fonts

I've looked at the java documentation and scoured the net for information on java's support for international characters with specific fonts (such as Monospace), but haven't been able to get a clear concrete answer. There has been a change between java 1.4 and java 1.5/1.6. For example, in java 1.4 if you set the font on a JTextArea to ...

How can I add fonts to netbeans?

I'm using netbeans on ubuntu, I would like to add some fonts to it. Could anyone tell me how this is done ? ...

Font graphics routines

How do you do your own fonts? I don't want a heavyweight algorithm (freetype, truetype, adobe, etc) and would be fine with pre-rendered bitmap fonts. I do want anti-aliasing, and would like proportional fonts if possible. I've heard I can use Gimp to do the rendering (with some post processing?) I'm developing for an embedded device ...

What's The Best Option For Rendering Complex Fonts?

Hello, I'm working on a game (using Ruby) and planning to have it available in several languages. I was wondering what's the best option for rendering text. In particular, whatever I use should be able to render complex fonts (Arabic and Persian in particular). I've been looking around and have stumbled upon freetype, graphite, and usi...

Make <h1> tag the same maximum width regardless of capitalization of text within

I'm trying to display a series of titles varying from 60 characters to 160 or so and the capitalization varies, some of it all caps, some half caps. When it's mostly lowercase the whole 160 characters of text fits in the width I want, but when it starts getting more caps (they must be wider), it starts over flowing. Is there a way to u...

What's the right way to display emoticons?

In your own application that is. [edit] Alright, so I agree completely -- more than you know -- without equivocation that graphical emoticons are an abomination. But! That doesn't help me when the project owners tell me that we must support graphical emoticons. [/edit] The problem more complex than it would initially seem, especially...

Applying a common font scheme to multiple objects in wxPython

Many times I will use the same font scheme for static text in a wxPython application. Currently I am making a SetFont() call for each static text object but that seems like a lot of unnecessary work. However, the wxPython demo and wxPython In Action book don't discuss this. Is there a way to easily apply the same SetFont() method to all...

How to make resource dll to describe device fonts ?

The target driver im building is not a native driver but a minidriver working with Microsoft Universal Pinter Driver According to DDK: Descriptions of these items [fonts in my case] are placed in a resource DLL, as described in the Platform SDK documentation. It then goes on to say: In the printer's resource DLL, specify ...