fonts

Internet Explorer CSS Line Height For MusiSync Font

I'm trying to use the MusiSync font to embed a sharp and flat symbol in a line of text. In order to keep these symbols from being tiny I have to make their point size twice the size of the rest of the text. Unfortunately, this messes up the line height in Internet Explorer and I cannot find a way to control it. You can download the MusiS...

C++ Library for image recognition: images containing words to string

Does anyone know of a c++ library for taking an image and performing image recognition on it such that it can find letters based on a given font and/or font height? Even one that doesn't let you select a font would be nice (eg: readLetters(Image image). ...

Embedding Fonts in PDF from LaTeX Source with pdflated

I need to embed the fonts that I'm using in my TeX document in my output PDF. I'm using pdflatex for TeX processing, and TextMate as my editor. I can't find any reference on how to embed the fonts I need in the PDF document. ...

Tools for creating text as bitmaps (anti-aliased text, custom spacing, transparent background)

I need to batch create images with text. Requirements: arbitrary size of bitmap PNG format transparent background black text anti-aliased against transparency adjustable character spacing adjustable text position (x and y coordinates where text begins) TrueType and/or Type1 support Unix command line tool or Python library So far I've...

How to create a font with CGFontCreateWithFontName?

I want to have a greater control on how and when fonts are loaded and released, therefore I'm interested in getting CGFontCreateWithFontName() to work. GContextRef ctx = UIGraphicsGetCurrentContext(); CGContextSelectFont(ctx, "Georgia", 20.0, kCGEncodingMacRoman); // DRAWING WITH CGContextShowTextAtPoint() IS WORKING... GContextRef ...

blurry font in silverlight2 app

Hello, I did my first Silverlight 2 application and what annoys be is that text-fonts looks blurry or ragged. You can see it here: Is that a 'feature' of SL or I'm doing something wrong? I know that SL2 uses a few fancy techniques to make applications device-independed but this fonts aren't acceptable (i'm using Vista with Aero )....

Programming Fonts

What's your preferred programming font? There's an existing question like this. However, there are over 100 answers, most of which are just, "+1 MyFontOfChoice, blah, blah, blah". No offense to others involved in that post, but I was hoping we could get a more organized set of responses. Rules ONE post per font. If there is alread...

Which browsers support font embedding.

I've been reading about the @font-face rule and trying to work out if it's worth using it in a project to render "franklin gothic medium" for title instead of something like sIfr. I figured that for browsers that don't support it I could make it fall back on Arial. The thing is that I'm having trouble getting a definitive answer about w...

What is the best C# font selection control?

To start off with, a little context for the question... I have a C# .NET 2.0 program that generates web pages... I am looking for a control that allows the user to pick web friendly fonts for use in generating the web page to run on as many computer as possible. I'm currently useing the MS font dialog, but I have not found a way to fi...

DirectX Font tutorial that doesn't use GDI

Does anyone have any tutorials/info for creating and rendering fonts in native directx 9 that doesn't use GDI? (eg doesn't use ID3DXFont). I'm reading that this isn't the best solution (due to accessing GDI) but what is the 'right' way to render fonts in dx? ...

How do I have emacs load a font from a file?

In the interest of making my emacs setup more portable, I'd like to be able to set the current font by specifying a file rather than a font name, i.e. "Load ~/config/myfont.ttf and use size 12". Is there a way to do that in my .emacs? All the instructions I've found assume the font is already installed on the system. I'm using the XFT su...

How can I change the Javahelp font?

Javahelp is the Java based help system that can easily be integrated in a Java application. The documentation does not give any information about it. On the web, many people state that it is not possible, that the help browser always uses a built-in font. I am not convinced that it is not possible. The help system of the IntelliJ IDE is...

UTF-8 and X11 iso10646-1 fonts with ImageMagick

Trying to write UTF-8 text to an image without any luck. I've spent several hours reading docs and googling. /usr/bin/xlsfonts shows: ... -adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso10646-1 -adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1 ... (BTW, this seems like an excellent page for these fonts: http://www.cl...

How can you get the height metric of a string in PostScript?

You can obtain the width of a string in the current font with stringwidth and although this actually pushes offset coordinates on the stack, the y-value always seems to be useless. Is there a way to determine the exact height of a string, that may or may not include descenders? ...

CSS font size: relative vs. absolute values. Which to use?

What's the best way to size text across browsers? What are the advantages and disadvantages of defining font size in pixels / em? ...

Consistent font-size across browsers (web development)

When creating web pages how do we achieve a consistent font size across browsers. I have used something like "font-size: 11pt; font-family: Helvetica,'Lucida Grande'" in my CSS, but the text looks different in Firefox, IE, Google Chrome and Safari (and this is not even on different platforms). Basically on the same machine, that is runni...

Font sizes in Core Graphics

Hello everyone, I'm trying to render a bit of text using Core Graphics APIs and I'm running into some conceptual difficulties. I'm trying to specify font size using CGContextSetFontSize. The size parameter is in something called "text space units". What is that? How does it map to "em" units? Thanks ...

Using custom TTF font for Image rendering

I am using Gdi+ on the server-side to create an image which is streamed to the user's browser. None of the standard fonts fit my requirements and so I want to load a TrueType font and use this font for drawing my strings to the graphics object: using (var backgroundImage = new Bitmap(backgroundPath)) using (var avatarImage = new...

Creating a PostScript/TrueType font.

I've the coordinates of the letters (e.g. using SVG). How could I generate a TrueType/PostScript font for my computer ? (edited : changed vectorial to TrueType/PostScript ) ...

Visual Studio 2008 (C# @ Verbatim) Fonts and Colors option

I just read secretGeek's fun post on 8 ways to be a better programmer in 6 minutes and really liked the tip on making hard-coded strings look ugly. When I tried to change the Fonts and Colors setting to do this in my copy of Visual Studio 2008 Professional, I found that the String (C# @ Verbatim) option was not in the Display items list...