fonts

ActionScript 3 & font embedding

hey! I have a problem with doing proper font embedding in a actionscript 3 project (flash CS4, not flex). I followed this Adobe guide to do font embedding: http://www.adobe.com/devnet/flash/quickstart/embedding%5Ffonts/ the guide tells to set the Textfield.embedFonts property to true. if I do so and try to display a text with another ...

Problem embedding font and displaying it correctly in Flash

Hi guys, I'm looking for the right textfield parameters or work-around for my latest problem here dealing with Flash fonts & text fields. I have a textFormat and textField generation some text using the Font: Franklin Gothic Book point size 8. Currently this is how the font will look when I run the movie: The bottom ®MYLOGO is a jpg ...

On which operating systems or browsers are CSS font-family names case-sensitive

According to sitepoint (a source I typically highly trust) when specifying font-family names some Operating Systems/Browsers may be case-sensitive. I've typically always used mixed-case values but I'm wondering if lower-case values will work just the same? I don't have an overwhelming preference either way - but I'd hate for a page to ...

Emacs with smaller font size -> Text doesn't align

I have a problem with Emacs (which is a great editor by the way), when I change the default font size and font, my text doesn't align anymore. In use it in vhdl-mode, and it is really annoying, that the text doesn't align. In other editor the text-alignment is fine, even though I have modified it in emacs. Anyone their have a solution...

Embedding commercial fonts into websites

Good evening ladies and gentlemen! Searching for a cross-browser solution to embed commercial fonts like HelveticaNeue or Univers etc. I found some promising approaches. First of all I will enlist all found, modern and easy to use approaches here: sIFR Cufón typeface.js CSS3 font-face sIFR is well known and kinda easy to implement,...

Problems with rendering text as bitmaps using WPF

I am developing an application using WPF to dynamically render content, including text and images from WPF into jpg files. I am currently using the RenderTargetBitmap class to do the job. Everything works as expected but the quality of the rendered fonts is terrible. I understand that the RenderTargetBitmap doesn’t use the ClearType but ...

C# Install Font into Windows Font Folder

I need to install a font on a client machine when my program is started and I know I need to use PInvoke to accomplish this but I am having trouble understanding what exactly PInvoke does and I don't really understand the example HERE. Would someone be able to dumb this down to a newbie level? Thanks! ...

How to find whether system has the font I needed in MFC?

I want to write the following function bool IsFontExistInSystem(const CString& fontStyle) const { } Is there any API in windows to do this? Many Thanks! ...

Get font name from FontFamily in WPF

I'm currently working on a little font organization/preview application for myself, however, I'm having a hard time getting the exact information I need. I've found that I can load an external font by just creating a new FontFamily object with the font's file location as its source. However, I can't find a way to get a font's specific f...

Detecting glyphs occurrences in any fonts

Hi, everyone. I'm writing a small .NET application that can produce SWF files, and I need to support Unicode fonts. I don't know the things on it and font rendering well, so I understand that I've made some blunders while writing my application: many fonts installed on my Windows don't support Unicode characters so I can see hollow squa...

Sifr 3 fuzzy fonts

Im getting a rendering of Helvetica UL thats rendering fuzzy below a certain point size, about 16 I think. Above that point size it renders perfectly. I checked this in the search and can't seem to find anything relating to it. Does anyone know if there is a granular control for the font/flash quality? many thanks ...

Unicode and fonts.

Hi, This is something that I don't see much discussed. I'm developing a software that will support multilingualism, thus, I would need to use Unicode compatible fonts, right? Where could I possibly find such fonts and how would I know for sure they support Chinese, Korean, Japanese, whatever there exist? It's a shame you can't use beau...

LPD3DXFONT DrawText using DT_CALCRECT?

How do I use DT_CALCRECT to determine my rectangle bottom and right coords? e.g I have this rect: RECT textPos; textPos.left = 100; textPos.right = 100; What do I do next to calculate the rect and draw the text? ...

Font rendering in flex sometimes results in characters a couple pixels lower

Sometimes while typing in a textarea in Flex many characters will be rendered at one height then at some point on that same text line the rest of the characters are rendered a couple pixels lower than the rest. Here is an example, look at the last 'I' character, its low: Sometimes changing the font size will fix this but its not consis...

Use multiple fonts in a single line with sifr3

Hello, I am using sifr3 and I know it is supposed to let you use multiple fonts in one line. I have tried a number of changes with my sifr.css and sifr_config.js files to no avail. I tried using spans, sub class of h1, etc. Sample Link: http://www.liquidcomma.com/about%5Fus/pages/overview/ Thanks for any help you can provide. ...

What font and size is used in Windows 7 File Explorer Tree

I am having a hard time to find out which font is used by the Win 7 File Explorer in the tree view on the left hand side. Better, of course, would be if I can programmatically find out which the right font is (C#). I searched the Windows 7 design guidelines but this particular scenario is not listed (at least I couldn't find it). So an...

Large serifs in a font cause flash to measure size incorrectly

I have a textarea where I measure the textWidth and textHeight to make sure the user cannot enter more text than can fit in the text area. I also extended the textArea with a textHeightNow and textWidthNow that measure the textField's dimensions since they update w/out requiring validation. Now this works great for 90% of the embedded ...

Are there Latin chars in the Korean Hangul unicode ranges of a fixed size?

Many Japanese fonts have a special fixed-width variant of the standard ASCII latin characters that are half as wide as the font's standard fixed-width for Kanji/Kana characters. This allows you to vertically line up Latin and Japnaese text by simply using 2 Latin chars per Japanese character. This is called something like "half-width ...

How is a font's appearance defined? (vector graphic for each character?)

Details on fonts: When you have some text in specific font, there's a header that says what the font is and then characters that are X number of bytes apiece. The computer looks up what that character is supposed to look like in the font and displays it. Underlines, Bolds, and Italics are added using a set algorithm that applies to all f...

Generating .afm from .ttf

I'm working with generating .pdf's from PHP using this library: http://www.fpdf.org/ I am currently hung up, though, on adding new fonts, specifically the step on generating the .afm file from a .ttf font file. I'm following the instructions here: http://www.fpdf.org/en/tutorial/tuto7.htm Which state: The first step for a TrueType...