fonts

TrueType parsing in Java?

Is there a simple library that can parse a True Type font file and give me a list of vectors/points for me to render it myself? I'm talking about something similar to freetype, but for Java. ...

East Asian Characters rendered as squares with PHP imagettftext()

Hi, I'm trying to render images with verdana text using PHP imagettftext function. However, all east asian characters are not being rendered correctly. I tried using other fonts like tahoma and Lucida Grande, but neither works. Arial Unicode, however, works perfectly. The problem is that I don't want to use Arial as my font. Is there a...

complete, monospaced Unicode font?

I'm looking for a good programming font that lets me add comments and string literals in Unicode, usually Japanese and Chinese along with some Latin and Cyrillic languages. So far the situation seems to be "complete, monospace, free, pick 2" and Google is failing me with this (maybe because there are no good ones?). The best I found is...

Delphi 5: How to suspend anchor layouts?

Is there a way to suspend all anchored controls on a form from moving or resizing themselves temporarily? i.e.: procedure ScaleFormBy(AForm: TForm; n, d: Integer); begin AForm.SuspendAnchors(); try AForm.ScaleBy(n, d); finally AForm.ResumeAnchors(); end; end; I need to do this because I'm calling AForm....

Fonts for Carbon OpenGL app on OS X

Hi, I'm trying to add text rendering to a Carbon OpenGL app I'm developing for OS X. Since the aglUseFont is now deprecated, I'm looking for another way to add text as well as be able to query the glyph properties (i.e. width, height, spacing, etc) So far I've investigated CoreText and ATSUI but both without much luck. Please help me...

How to find out which fonts are referenced and which are embedded in a PDF document

We have a little problem with fonts in PDF documents. In order to put the finger on the problem I'd like to inspect, which fonts are actually embedded in the pdf document and which are only referenced. Is there an easy (and cheap as in free) way to do that? ...

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 get my emacs to *always* use 6x13 on X11

I recently declared .emacs bankrupcy and reorganized my init stuff. In the process, I ripped out all the hacky font selection stuff I had accrued over the years, figuring there are probably easier ways to accomplish what I want in the most modern version of emacs. GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) on a GNU/Lin...

Itext embed font in a PDF

I have a pdf that has been created using the Foxit form designer. On my design system, I have the barcode font installed. The barcode font is used in one of the AcroFields. It appears that foxit does not embed the font in the document. I also have customers that do not have the barcode font installed in their computers, and thus I w...

How to determine the O/S filename of an installed font?

We use a third-party PDF Generator library which requires that you specify the TrueType or Type1 file name when using a font other than the 14 or so that are part of the default PDF standard. So if I want to use Bitstream Arrus Bold I have to know to reference arrusb.ttf. Short of enumerating all of the files in the font folder and cr...

Using a System.Drawing.Font with a WPF Label

I have a WPF Label control which I'm trying to change the appearance of using a System.Drawing.Font object supplied by some legacy code. I have been able to set most of the properties, but am struggling with Strikeout and Underline. So far I have: System.Drawing.Font font = FontFromLegacyCode(); System.Windows.Controls.Label label = n...

web application interface optimisation - fonts / tips ?

Hola stackoverflow, I'm building an interface with a lot of info on the screen.. dozens of inputs, with accompanying labels. as a result of the volume of info the fonts have necessarily become pretty small. but I'd like this to be as readable and usable as possible.. is there a really nice font that's both readable and compact, that wo...

How do I have different font colors in a textarea?

I want the font color to change in a textarea as I type in specific keywords, like in Visual Studio. I have not seen this anywhere, so I don't know if this is possible with HTML and JavaScript. Has anyone seen anything like this? Or know how to write it? ...

How to calculate text height and width for a PPLA printer?

I'm building an application to print labels using a PPLA printer (Argox OS-214). So far, I've got to manage how to centralize a barcode in a label, but now I'm stuck trying to do the same for text. I'm using the ASD smooth fonts, but I don't know how to calculate the final text size using these fonts. Anyone who has good knowledge about...

Using a font from a ttf file in windows / direct3d

I'm using direct3d 9 and using D3DXCreateFont to create a font object that I can use to write text to the screen. However I want to use a font I have in TTF file instead of an installed font. Is there any way to create a font object from a TTF file without first installing the font into windows which I don't want to do? ...

drawAtPoint: and drawInRect: blurry text

When drawing strings using drawAtPoint:, drawInRect: and even setting the text property of UILabels - the text can sometimes appear slightly blurry. I tend to use Helvetica in most places, and I notice that specific font sizes cause some level of blurriness to occur, both in the simulator and on the device. For example: UIFont *labelF...

default web font

i am adding an asp.net ImageButton that contains text adjacent to a LinkButton. i am creating the image for the ImageButton using an image editor and i need to know what font the LinkButton is using. i've tried firebug but i still can't figure it. ...

Faulty fonts on Lazarus

I've recently installed FPC 2.2.2 and Lazarus 0.9.6 on my Acer Aspire One, so I can cross-compile some apps and to my dismay, the fonts for the menus all are little squares. Has anyone had a similar problem with Lazarus on a Fedora Core instalation that could give me some advice? ...

css font sizes

css: .lnk { font-size:0.9em; color:#0000CC; font-family:Courier New; } how do i get the equivalent of this in Paint.NET? i stumbled upon this guide: 100% = 1.0em = 16px = 15pt 95% = 0.95em = 15px = 14pt 90% = 0.9em = 14px = 13pt 85% = 0.85em = 13px = 12pt 80% = 0.8em = 12px = 11pt 75% = 0.75em = 11px = 10pt 70% = 0.7em = 10px = 9pt ...

Subclassed Textbox readonly font not recognized on form

Building my baseclasses for user interface controls is getting there. I have command buttons derived with custom font assignment and put on a form, all is fine... However, identical code for the read-only property Font of a textbox is NOT recognized properly on the same form. It is ONLY taking the setting of the FORM and disregarding i...