fonts

Looking for a simple OpenType API for .NET

Does anyone know of a good library that can parse OpenType files and provides information about font features in simple, understandable OO format? Thanks. ...

Multilingual Flex App

Hi, I'm working on a multilingual flex application that has to run in 27+ languages, including asian, hebrew and arabic, as well as all european languages. We work with an embedded font (Myriad Pro) and have plenty of styles in a css that make use of that embedded font. We've tested with a modified version of Myriad including all non w...

Ems to Pixel Conversion - Why 62.5% and not 6.25%?

I know that a lot of us are familiar with setting the font size on the body element in our CSS to 62.5%. This means that 1em will equal 10px and helps for keeping things pixel perfect but also allows for scaling of fonts. So wouldn't that mean that setting it to 6.25% would equate to 1em = 1px? Seems like an even simpler conversion rath...

Centering fonts in VB6

How do you determine the length of a string of text in Arial Bold font, and then center it in VB6? If not here, can you point me in a direction where I might be able to find this information? We're not using a "label" or "picture box" do print the text to the screen. We are sizing the text on the fly, and allowing the user to scale the...

Best Default and User Selected Fonts for a Unicode Application

What is the best default font to use for a Unicode Application in which the user can select the font he wants to use? The problem I notice is that not all Windows machines have every Unicode font. And every Unicode font does not include all the Unicode characters. So what would be the font that would have the best trade off between ava...

Finding System Fonts with Delphi

What is the best way to find all the system fonts a user has available so they can be displayed in a dropdown selection box? I would also like to distinguish between Unicode and non-Unicode fonts. I am using Delphi 2009 which is fully Unicode enabled, and would like a Delphi solution. ...

Best font for terminal

Hi, I like to find some new/interesting fixed width fonts for terminal console. We all know Lucida / Courier, what else? Anyone? So, the winner is Consolas (which indeed is built in in new windows7) Jeff had good topic about that: Other interesting fonts are: * Inconsolata * Proggy Clean * Terminus * 6x13 (if you need small font )...

Font (typeface) selection for the Web?

I got to thinking about font (typeface) selection today. A site I did for work came with this professsionally done style guide that detailed colour selection, font selection, spacing, etc. It's the first time I'd seen anything like that but I have to admit, what they'd chosen did look good. Now I've previously read about colour theory...

Portable web font technology

After reading the question on web font typeface selection, it occurred to me that portable network fonts were the answer. We used to use a package by Bitstream to generate subsets of needed fonts to embed in web pages so that it looked the same in every browser on every platform. When I Googled this, I found an RFC that looks like it's...

Is there a cross-browser way to condense text on a page?

I am looking for a way to condense relatively small areas of text on a page in an effort to mimic a graphic button that was done with a non-standard font. Ideally, just the letters would get squished or made thinner, leaving the space between words more or less the same. I know there are some CSS attributes that do things like this, but ...

What is the best platform-neutral font for résumés?

Which font is the best to make a résumé look equally good on all operating systems? ...

What is the best font to apply to a print stylesheet?

When developing a print stylesheet for a web page, what fonts are recommended for use? I was using Times New Roman, but it looks kinda bland. What have you used before? IIRC they say serif fonts are easier to read on paper. ...

WPF ComboBox Font Binding FileFormatException

I have a WPF Combobox that is binding to Me.fontComboFast.ItemsSource = Fonts.SystemFontFamilies <ComboBox x:Name="fontComboFast"> <ComboBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel /> </ItemsPanelTemplate> </ComboBox.ItemsPanel> <ComboBox.ItemTemplate> <DataTemplate> ...

Drawing with Webdings in PIL

I've got a Python program using PIL to render text, and it works great with all kinds of fonts. But it only draws "missing glyph" rectangles with wingdings or webdings. Here's a sample that tries to draw every unicode character: # Run this with .ttf file path as an argument, and also an encoding if you like. # It will make 16 PNGs wit...

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? ...

Help with TinyMCE configuration to allow font tags

Configuring TinyMCE to allow for tags, based on a customer requirement. My config is as follows (grabbed from the TinyMCE samples; sorry for the length, I didn't want to leave anyting out: tinyMCE.init({apply_source_formatting : true, button_tile_map : true, content_css : '/themes/site_themes/default...

Changing the font of text being typed in a JTextArea

I am working on a chat application and I want the user to be able to change their font while typing messages. I tried using the setFont() method but it changes the font for the entire text within the JTextArea component and when the text is sent to the display area, another JTextArea component, the font changes do not appear. Instead i...

Do you know of a resource that lists all the font-families with their fall-backs that are good on the web?

Note: I've made a few edits here as I didn't get my question across very well the first time around. Update: After doing some of my own research on this subject, I've come up with a perfect example of why I'm searching out the perfect list of font-family with fall-backs: http://www.brownbatterystudios.com/sixthings/2007/03/14/lucida-h...

How can I create a Java/Swing text component that is both styled and has a custom font?

How can I create a Java/Swing text component that is both styled and has a custom font? I want to highlight a small portion of the text in red, but at the same time use a custom (embedded via Font.createFont) font. JLabel accepts HTML text, which allows me to highlight a portion of the text, but it ignores font settings when rendering HT...

unicode implementation: many fonts, or one large font?

Hi all, I'm internationalizing an application into many different languages, and the following languages must be supported: English Spanish German French Russian Mandarin Chinese Thai We're also probably going to add support for: Hindi Portuguese Any other language people at work speak and can translate easily Should I install d...