fonts

Which exact UIFont or font is used on the home screen for the icon titles?

I need the exact same font in my app, with the exact same size. Does anyone know? ...

Text shadow in IE, alternatives

I have a need for text-shadow for inline, long, paragraph text in IE. I understand progressive enhancement, but the situation is different. I do absolutely need text-shadow, it's not a design issue, but a matter central to the function of my app. In any case, IE does not support CSS text-shadow. What are some alternatives? I know that s...

Text Gradient whith sIFR 3

Hi, I want to use sIFR 3 to add a simple linear gradient filter to a text, I can't find this in the ducumentation hope you guys can give me some help. I found an article that show's how to do this but requiers the modification of the flash file and that's not what I want to do. I looked in the sIFR documentaion and I didn't found a Gr...

Font Rendering between Mozilla and webkit

I'm not sure if this has anything to do with the recent Safari update, but I'm beginning to notice this a lot. There is a drastic difference in the way each browser is rendering fonts. for instance, I took screenshots of what I am seeing here on stackoverflow... http://twitpic.com/q43eh I have verified that this is a trend via my co-wo...

PHP Accurate Font Width

Hi, I am trying to generate a text image. So I create a new font: $font = '../fonts/Arial.ttf'; Then I add some background for the text imagefilledrectangle($image, 0, 0, ?, 12, $green); And add text imagettftext($image, 12, 0, 0, 12, $white, $font, $text); The problem is right now I don't know how to get the width o...

Change font size in Emacs cli

How can i change Emac's default font size in command-line, not the X version of emacs? ...

Changing Font Size and leaving space between button in a JOptionPane

The text in my JOptionPanes are way to small I was wondering how I could change the font of the text inside the pane. Also, I would like to be set a space between two buttons. Something like |Canecl| |DoneSave| |Save| ...

Embed font into PDf file by using iText

Hi, I defined a tag map, and got a xml data file. I want to convert the xml data file to PDF by using iText. The question is how to embed fonts (e.g. polish font, chinese font) into target PDF when converting xml to PDF? Thanks. ...

Java (AWT): fitting text in a box

I have an application that extends a Frame. Then, it'll display a few lines of text using: Font f = new Font("Arial", Font.PLAIN, 10); g.setFont(f); g.drawString("Test|great Yes ^.", x, y + 10); Now what happens is that the text doesn't fit in the box around. E.g. I'm expecting the text to fit in [x,y]-[x+width, y+10] (don't care abou...

Cost of creating Font objects in .NET

Hi, In the application I'm developing , we use the DevExpress XtraGrid control, which has a RowCellStyle event that allows to customize the style of each cell. The event handlers for this event typically look like that : private gridView1_RowCellStyle(object sender, RowCellStyleEventArgs e) { if (/* Some condition */) { ...

Applying a FontFamily to all Controls in Silverlight 4 Beta

I'd like to give every Control a certain FontFamily and FontWeight in Silverlight 4.0. I know that styles can now apply to all controls of a certain type, so I tried this: <Style TargetType="Control"> <Setter Property="FontFamily" Value="Arial" /> <Setter Property="FontWeight" Value="Bold" /> </Style> Unfortunately, that doesn...

DefineFontAlignZones in SWF version 8 and how to calculate the alignment zone for a glyph

Version 8 of the Flash SWF format provides the DefineFontAlignZones tag for better text rendering. The advanced text rendering engine uses alignment zones to establish the borders of a glyph for pixel snapping. In order to use this tag I have to calculate the alignment zone for each used glyph. Does anybody know how to do this? ...

Alternatives to FontForge

I use python bindings for FontForge under Ubuntu. It constantly runs into crash without any clues about the reason, e.g. segmentation fault, memory mapping errors, etc. All what I need is to read font file's (.ttf and .otf) meta data (font name, family name, version, unique id, copyright, license, designer, designer url, etc) and count ...

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

PHP GD Font Width Calculate Help

OK a little background story. I am redesigning one of my old websites and I want to use Myriad Pro for the title on the page. This will be dynamic with PHP, etc. At first I thought I should just use CSS styles and define Myriad as the main font. But after using typetester.org, I found that Myriad and let's say Arial are different height...

font is STUCK in times new roman in ie.

I am building a page, and when it is viewed in IE (all versions) the entire text is stuck on times new roman. Here is my CSS: body{ color:#222222; margin:0 auto; background-color:#000; font-family: "Tw Cen MT","Gill Sans","Century Gothic"; } In Safari and Firefox, the Tw Cen MT is displayed great, but in IE Times New r...

Adobe Flex, loading embedded fonts from modules

I am just programming a language learning app in Flex for various Asian languages. As some of these languages have very big font sizes (e.g. Chinese), I do not want to load all these fonts into the app. at once but was thinking to put them into different modules and then load only the specific module (depending on which language is chose...

Draw bold/italic text with PIL?

How to draw bold/italic text with PIL? ImageFont.truetype(file, size) has an option to specify font size only. ...

Help needed on font for localized string

Hi, My client has given me a custom TTF font only for English. So my intention is to load that TTF only for English and for other languages it should fallback to the available System font. I am doing the following steps: Registering fonts with my app. Copying into Resources folder and add to my project. Loading the font with name. N...

Which font should I use for Latin and East Asian characters

My application needs to be able to display text in English, German, Chinese, and Korean. I would like to use a single font throughout the application. I know I could use Arial Unicode MS or Lucida Sans Unicode. But they are both very large and need to be licensed. Is the a good font that I could use? edit: This is a windows forms appl...