Questions tagged [embedded-fonts]

Font embedding is the inclusion of font files within an electronic document. This is possible with several file formats including Portable Document Format (PDF) and Microsoft Word (DOC).

186 questions
567
votes
18 answers

Mime type for WOFF fonts?

What mime type should WOFF fonts be served as? I am serving truetype (ttf) fonts as font/truetype and opentype (otf) as font/opentype, but I cannot find the correct format for WOFF fonts. I have tried font/woff, font/webopen, and font/webopentype,…
Nico Burns
  • 15,663
  • 9
  • 36
  • 51
171
votes
8 answers

How can I extract embedded fonts from a PDF as valid font files?

I'm aware of the pdftk.exe utility that can indicate which fonts are used by a PDF, and wether they are embedded or not. Now the problem: given I had PDF files with embedded fonts -- how can I extract those fonts in a way that they are re-usable as…
simplybest55
60
votes
1 answer

Is it possible to adjust a font's vertical scaling using CSS?

I am using an embedded font for the top navigational elements on a site Helvetica65 and at 16px it is the perfect WIDTH but I need it to be about 90% of it's current height. In Photoshop, the solution is simple - adjust the vertical scaling. Is…
Cynthia
  • 4,945
  • 13
  • 39
  • 67
38
votes
12 answers

@font-face works in IE8 but not IE9

As described above, I have issues with @font-face not displaying in IE9 although it displays fine in every other browser including IE8 and under. Additionally, when viewing locally on my computer, IE9 does display the font, just not when fully…
DanC
  • 1,277
  • 4
  • 22
  • 42
30
votes
4 answers

How do I embed fonts in an existing PDF?

Background: I have PDF's I am programmatically generating. I need to be able to send the PDF directly to a printer from the server (not through an intermediate application). At the moment I can do all of the above (generate PDF, send to printer),…
hanzworld
  • 1,189
  • 1
  • 11
  • 20
24
votes
10 answers

Using a custom font in a UITextField causes it to shift slightly when accessed -- is there a fix?

I have a custom font in a UITextField, and I've noticed that when it's accessed (when the keyboard appears), the text shifts down by a very small amount -- maybe a pixel or two or three. (I've no way to measure it, of course, but it's enough for me…
13
votes
2 answers

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

Has anyone figured out how to preload the fonts to stop the flicker/delay?
Erik
  • 5,455
  • 26
  • 65
  • 110
11
votes
6 answers

Tools to create an Icon Font

I'd like to create an icon font for use in a web application. fontAwesome, Iconic, fontomas are examples of what I'd like to do but I need to use custom icons. I'm not sure where to start. Any help is appreciated.
Rob
  • 2,858
  • 4
  • 28
  • 32
10
votes
1 answer

cross-browser "bullet-proof" CSS3 @font-face syntax

I have seen many attempts at a cross-browser @font-face syntax including the: Bulletproof @font-face syntax (specifically the smiley variation) Mo’ Bulletproofer @Font-Face CSS Syntax The New Bulletproof @Font-Face Syntax ...and a few…
Web_Designer
  • 64,966
  • 87
  • 197
  • 254
10
votes
2 answers

C# : Using an embedded font on a textbox

I'm embedding a font in my windows forms application as embedded resource, and want to use it in a TextBox. The help of AddMemoryFont() says I have to set compatible text rendering to true in order to use GDI+, and so my font can then be used. But…
Led
  • 1,872
  • 4
  • 21
  • 31
8
votes
2 answers

Data URI in embedded font declaration (@font-face) breaks IE < 9

I have a CSS file with a @font-face declaration that embeds the font file via a data URI: @font-face { font-family: 'Custom-Font'; src: url('eot/font.eot'); src: url('eot/font.eot?#iefix') format('embedded-opentype'), /* ugly FF…
josh3736
  • 124,335
  • 26
  • 203
  • 248
7
votes
2 answers

Can one export Special symbols / Cyrillic letters in plot labels when exporting graphics to PDF ?

I am trying to export a list of graphics as separate frames in PDF format in order to then compile a vector SWF animation with the aid of external utility (such as pdf2swf). Unfortunately, some special characters (e.g. Degree sign or triple dots)…
Igor
  • 265
  • 1
  • 9
7
votes
1 answer

AS3 Embedded Fonts list and their names

How to get a list of all embedded fonts with their names using AS3.
user689751
7
votes
2 answers

Remove multiple embedded font in pdf created with pdfTk

Is there a way to remove fonts embedded multiple time from a pdf file? This is my scenario: 1) a program generates several one-page pdf reports (querying a db, putting the info on an excel template and exporting the formatted information in pdf) 2)…
AleV
  • 303
  • 4
  • 15
6
votes
2 answers

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…
Ritsaert Hornstra
  • 4,849
  • 1
  • 29
  • 48
1
2 3
12 13