embedded-fonts

Programmatically embed Kanji in Textfield

In the "Embed...Character Embedding" window in the Flash environment, you can select to embed Japanese Kanji. Does anyone know of a way to embed the same using a TextField created with Actionscript? ...

Embedded font alignment issue in Flex 3

Hi guys, I'm trying to fix an issue I have with Flex and some embedded fonts... To explain... I have a small Flex video player that displays a text message at the end of the video. The text is dynamically loaded when the player starts... I had originally embedded the font like this: [Embed(source='fonts/times.ttf', fontFamily='Times Ne...

Flash/AS3 > Font Embed causes positioning error with Chalet Font

I'm trying to embed the Chalet font to some dynamic text fields and it is causing the vertical position of the text to jump up above the actual textfield. (see screenshot) Is Chalet a messed up font? (or more likely, Flash is sooo screwed up in handling fonts) This font displays absolutely fine in Photoshop and Illustrator. Anyone have ...

C# : Using an embedded font on a textbox

I'm embedding a font in my app as EmbeddedResource and want to use it in a textbox. AddMemoryFont help says I have to set compatible text rendering to true to use GDI+ so my font can be used, but somehow it just won't display the right font. in Program.cs I explicitly state : Application.SetCompatibleTextRenderingDefault(true); So why ...

Moving folder location of Expression Blend 3 Silverlight project causes embedded fonts to not work

I made an expression blend 3 project with embedded fonts, then copied the whole solution folder to a different location on my computer. When I open the copy at the new location default fonts are used for all the spots that used to be embedded fonts. When I open the original, the fonts are fine. The embedded fonts folder is in the proj...

Is it possible to NOT embed fonts in a PDF generated with PDFKit?

I'm generating PDF documents with PDFKit and I'd like to have it not embed the standard PDF fonts (Times, Helvetica, Courier) if possible. Is there a way to accomplish this? ...

AS2 css font disappearing

I've inherited a project written in AS2. It programatically creates textfields and populates them. It refers to a stylesheet, and in that stylesheet is font-style:italic; Everything shows in italic just fine. But I've been asked to change it to normal. WHen I change it to font-style:normal; in the stylesheet, the text disappears. An...

embeding fonts or changing to safe font?

whats the better solution for embeding fonts problem? drink a lot of vodka and try to embed custom font on web site or just leave that idea and use some web safe font? ...

QWebView problem rendering embedded fonts

Hi, I'm trying to render a web page, in QT 4.5, that uses an embedded font. Most of the time this works as expected. Unfortunately, sometimes I get really weird behaviour. The font is rendered - apparently - off-by-one. For instance the text: "By" woukd appear as "Cz" Has anyone run into this before? And - more importantly - knows ho...

Use a light font weight with Sifr

Hi, With sifr, how do I make a font use the light weight version. I have... var gillsans = { src: '/resources/swf/gillsans.swf' }; sIFR.activate(gillsans); sIFR.replace(gillsans, { selector: 'h1', css: '.sIFR-root { background-color: #FFFFFF; color: #000000; text-transform:uppercase; }' }); which is displaying regular Gill Sans, ...

Loading WPF embedded fonts into a GlyphTypeface

I'm trying to embed some fonts into a WPF dll. I've set the build action on the fonts to Resource. Loading the fonts from disk works fine, but from a pack uri, I get an exception. Is this an unsupported scenario, or am I just doing it wrong? GlyphTypeface gtf; //OK gtf = new GlyphTypeface(new Uri(@"filePath\Fonts\cmex10.ttf")); //thr...

Altering an embedded TrueType font so it will be usable by Windows GDI

I am trying to render PDF content to a GDI device context (a 24bit bitmap to be exact). Parsing the PDF stream into PDF objects and rendering the PDF commands from the content dictionary works well, including font rendering. Embedded fonts are decompressed from their FontFile streams and "loaded" using AddFontMemResourceEx. Now some em...

pdf is shown but not printed

Hello, I use crystal reports of visual studio 2003. I generate a report and export it in PDF. PDF has embeded TT fonts. The pdf is shown correctly, but when printed the fonts aren't shown (neither the greek, nor the english). using print as images, solves the problem in some computers I tried, but others keep having the same problem. F...

Runtime fonts not playing nice with fonts embedded in static text?

Curious if anyone has this problem: I save my (embedded) fonts in an external file (fonts.swf) that gets loaded at runtime. Pretty standard. I also use a bunch of UI artwork generated in the Flash IDE. Some of this artwork contains static textfields (thus, not proper TextFields that can change. Just frozen glyphs). Here's the problem...

Is it possible to gzip or compress .otf (Open Type Face) files?

When using CSS3 and custom fonts, the client needs to download .oft or .ttf files. These files can be >50K. Can these files be compressed? How? Assuming Apache web server. I am looking for a compression technique or an Apache configuration. Any ideas will help because downloading +50K files should be prevented. ...

Can .eot font files be used in Silverlight?

I'm trying to find out if Embedded Open Type (.eot) files can be used in Silverlight. I found an older post that says they can't, but it's a few years old and given how fast SL has moved, I'm not sure if that has changed. If so, how would they be used? As a <Glyph/> object or...? ...

Preload @Font-Face Fonts to stop Firefox Flicker/Delay

I've been reading the posts about this, and still can't find the answer. Has anyone figured out how to preload the fonts to stop the flicker/delay? Cheers. Erik ...

Global style selector not supported for module style inheritance?

I've got an application that loads multiple modules and according to this document, styles should be inherited (possibly only if they are in the same ApplicationDomain which they are in my case.) This seems to hold true, except for embedded fonts. It seems as though I'm unable to use embedded fonts in my modules, when those fonts have b...

Flash CS4 - classic tweening on embedded font not working

Hi I am trying to tween a text from enlarged to compressed (squeezing) using free transform tool. It works fine when installed fonts are used. But when I use an embedded font, it just reduces in size (like scaling), and does not squeeze as intended. Thanks ...

Runtime fonts in Flash Builder 4

Hi, I am trying to get the following example to work in Flash Builder 4: http://developer.yahoo.com/flash/articles/runtime-fonts-as3.html The Actionscript project compiles but all I get on screen is a tiny rotated square with no text in it. Does anyone know why this might be happening? My code is identical to the example above - I ha...