Questions tagged [font-embedding]
38 questions
1
vote
1 answer
AS3 Flash CS5 - Using embedded fonts with fontDescription.fontName
I have a function that has an optional variable myFont. By default, it's set to myFont:String="Impact". However, when I try to define a different font name by using the function, or even just changing the default font name, I get
TypeError: Error…

yellow-saint
- 884
- 2
- 13
- 37
1
vote
0 answers
Unable to embed font using libHaru on Windows
I have following code that perfectly works on Linux:
auto pdf_doc = HPDF_New(nullptr, nullptr);
if (!pdf_doc) { /* error handling */ }
HPDF_SetCompressionMode(pdf_doc, HPDF_COMP_ALL);
HPDF_UseUTFEncodings(pdf_doc);
HPDF_SetCurrentEncoder(pdf_doc,…

Sam
- 1,842
- 3
- 19
- 33
1
vote
1 answer
wpf embedded font not shown while running
I embedded Google's Material Design icon font into my WPF project by adding it into project resources.
The font displayed correctly in Visual Studio designer but showed only tofus (something like ) while running.
What am I doing wrong?
Here's what…

Todd J. York
- 135
- 2
- 12
1
vote
2 answers
iText not rendering Chinese/Korean characters
I have a HTML String with Chinese/Korean characters. I want to convert the HTML to PDF using iText. I have read that we need to embed the FONT to the PDF to get the unicode characters to show up on PDF.
When I am trying to embed wts11.ttf (With…

user1661892
- 103
- 4
- 13
1
vote
1 answer
PdfSharp: Embedding fonts in existing pdf
We have an application in which at certain points a report is made as pdf. Although everything seemed to work perfect at the start, we found later that the fonts we used were not embedded in the pdf's we created. As such we could view the pdf's…

RoelofJ
- 65
- 9
1
vote
1 answer
Embedded fonts in RTF
According to the rtf specs, we can embed a font in an rtf file using the \fontemb and \fontfile control words. Can someone give me a working example of that? I'd like the rtf file to use the font that's located in a separate file (i.e. .ttf file)

it'sme
- 531
- 6
- 23
1
vote
1 answer
Embedded fonts: font-face or base64
when I need/want to include new font to website, I use base64 (and hope the base64 is cached with CSS file).
But I see a lot of pages without base, only different files was font-faced. In Firebug I don´t see a HTTP request for the font, how it…
user2834997
0
votes
0 answers
Sinhala text not properly rendering in PDF output using iText7 in Java
I'm using the iText7 library in Java to generate a PDF document that contains Sinhala text.
I've followed the code example below to embed a custom Sinhala font and render the text properly.
However, when I run the code, the Sinhala text doesn't…
0
votes
2 answers
Embedding a font into CSS, but the font does not show up in html file
A bit confused on the process here, but I've tried to embed a new font into a CSS file for an html website, but no matter what I try, the font does not appear on the html site. I've put the font through a converter and then put that entire file into…

spookz
- 1
0
votes
1 answer
Embedded Font Not Displaying On Other Devices (AS3, Javascript)
So I've written a bit of code in Actionscript 3.0 that displays a string when you hover over a word on screen. The issue with this however is that when displayed on other devices such as a Windows desktop, the font reverts back to default. I've…
0
votes
4 answers
How to embedded font inside the .pptx file
I am creating a .pptx file using ASPOSE.Slides. I am trying to a embed font using Aspose, but it's not working because of some issues. Therefore i am searching for an alternative option to achieve the same functionality.
I want to embed my custom…

Bhagyashree More
- 13
- 2
0
votes
1 answer
Flash CS5, dynamic font embeding problem
I'm trying to create dynamic textfield with font embedding. Embeding is dynamic like this:
public class TextFormats extends TextFormat {
private var TF:TextFormat = new TextFormat();
[Embed(source = "/fonts/tahoma.ttf", fontWeight =…

Almas Adilbek
- 4,371
- 10
- 58
- 97
0
votes
2 answers
How can I force PDFsharp to embed a subset of a font only?
I am able to sucessfully create PDF files using PDFsharp and MigraDoc.
Two private fonts (OTF format) are used for the creation of a single page PDF. The created PDF contains both fonts fully embedded.
Unfortunatly each font contains Chinese letters…

Thariama
- 50,002
- 13
- 138
- 166
0
votes
1 answer
Using ArialMT for Arabic text without embedding font with PDFBox
I'm using Apache PDFBox to write Arabic text on a page without embedding the font. It would appear that ArialMT is generally available so that both PDFBox will work and a PDF viewer will not have trouble with the final document; however, I have not…

Doc
- 343
- 3
- 13
0
votes
1 answer
Embedding fonts in Editable PDF
I have produced a pdf document with Latex (a survey), then I used Foxit PhantomPDF to make that PDF editable (so that I can send it via mail).
To do that I used the 'Form': 'Text Fiel'; and I choose a particular font in the Properties.
I sent the…

Loffa Fuffa
- 3
- 2