<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Font has not been embedded in pdf</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Font has not been embedded in pdf]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 10 May 2026 00:07:42 +0000</pubDate>
  <lastBuildDate>Tue, 03 Aug 2021 07:37:29 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=3941</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Thanks a lot ]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15854.html#15854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3289">timur</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 03 Aug 21 at 7:37AM<br /><br />Thanks a lot]]>
   </description>
   <pubDate>Tue, 03 Aug 2021 07:37:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15854.html#15854</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : If these syntax shall work://...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15853.html#15853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 02 Aug 21 at 8:32PM<br /><br />If these syntax shall work<b>:<br>// ...<br>pdfLibrary.SetTransparency(0);<br>pdfLibrary.SetLineWidth(1);<br>pdfLibrary.SelectPage(1);<br>pdfLibrary.SetOrigin(1);<br>pdfLibrary.NormalizePage(0);<br>//...<br>you should post it after LoadFromString.<br><br><br>Here you'll find all font-related functions:<br>http://www.quickpdflibrary.com/help/quickpdf/Fonts.php<br><br>A kb-sample about how to draw text onto a pdf:<br>https://www.debenu.com/kb/generate-invoice-programmatically-pdf/<br><br>In the kb-sample any actual font is used.<br>To select one of the standard fonts try these steps before Drawing functions:<br>With FindFonts you can get the number of embedded fonts.<br>In a loop now you can go through all found fonts with<br>FontID -&gt; SelectFont (with FontID) -&gt; FontName.<br>If the fontname is the one you want you can break the loop (SelectFont is already done) beginning with the DrawText-functions.<br><br>These are the standard fonts:<br>https://www.debenu.com/docs/pdf_library_reference/SetFormFieldStandardFont.php<br><br><br><br></b><span style="font-size:10px"><br /><br />Edited by Ingo - 02 Aug 21 at 8:32PM</span>]]>
   </description>
   <pubDate>Mon, 02 Aug 2021 20:32:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15853.html#15853</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hi Ingo,is it possible to use...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15852.html#15852</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3289">timur</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 02 Aug 21 at 1:50PM<br /><br /><span style=": rgb251, 251, 253;">Hi Ingo,</span><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">is it possible to use a system font to avoid the embedding failures?<br>Which font can I use (Courier New?) and how to select it for my pdf without embedding it.</span></div><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">Thanks in advance</span></div><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">KR<br>Timur</span></div>]]>
   </description>
   <pubDate>Mon, 02 Aug 2021 13:50:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15852.html#15852</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hii Ingo,thanks again.OptionIts...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15851.html#15851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3289">timur</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 02 Aug 21 at 12:51PM<br /><br />Hii Ingo,<div><br></div><div>thanks again.<br>Option<br>Its a windows service. At first I created the Library on Startup and removed (RemoveDocument) the document. But now on every request I create the library again an still<br>I want to mention it it happens only on Windows Server 2019 (or we have not detect anywhere else).<br>And my Console app for testing working without problem on the same Server.<br><br>Hier is Example Class:<br><br><div>&nbsp; public class TestClass</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; public TestClass()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // as I mentioned it I created at first only once here.&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; public void StampIt()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var pdfLibrary = new PDFLibrary("pdfLibraryPath");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.UnlockKey("myKey");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var file = "Test.pdf";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetTransparency(0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetLineWidth(1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SelectPage(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetOrigin(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.NormalizePage(0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.LoadFromString(ConvertDocument(file).ToArray(), string.Empty);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var fontId = pdfLibrary.AddTrueTypeSubsettedFont("Times New Roman &#091;Bold&#093;", string.Empty, 4);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetTextAlign(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetTextColor(0.0, 0.0, 0.0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SetTextSize(19);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SelectFont(fontId);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.DrawRotatedMultiLineText(121.60, 212.68, 0, "\n", "Test Test Test\n22.07.2021");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdfLibrary.SaveToFile(Path.GetFileNameWithoutExtension(file) + "_stamped" + Path.GetExtension(file));</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; public static MemoryStream ConvertDocument(string path)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var pdfFileStream = new MemoryStream();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; using (var fileStream = new FileStream(path, FileMode.Open, FileAccess.Read))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileStream.CopyTo(pdfFileStream);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return pdfFileStream;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }<br><br></div>and some log:<br><div>Font Id: 1476395020</div><div>Font count: 1</div><div>Is Subsetted: 1</div><div>Font type: 10</div><div>Font encoding: 5</div><div>Selected font: 1476395020</div><div>Stamp Text TEST TEST TEST</div><br>thanks in advance<br><br>KR<br>Timur</div><span style="font-size:10px"><br /><br />Edited by timur - 02 Aug 21 at 12:51PM</span>]]>
   </description>
   <pubDate>Mon, 02 Aug 2021 12:51:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15851.html#15851</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hi Timur,perhaps it&amp;#039;s better...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15850.html#15850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 31 Jul 21 at 3:24PM<br /><br />Hi Timur,<br><br>perhaps it's better to post the relevant code parts?<br>QuickPDF uses unicode strings.<br>What option (0-5) did you use?<br><br>]]>
   </description>
   <pubDate>Sat, 31 Jul 2021 15:24:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15850.html#15850</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hi Ingo,thank you for response....]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15845.html#15845</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3289">timur</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 27 Jul 21 at 7:31AM<br /><br />Hi Ingo,<div><br></div><div>thank you for response. Yes I embed it as subset (DebenuPDFLibraryAddTrueTypeSubsettedFont).&nbsp;<br>Same code , I see in PDF "<span style=": rgb251, 251, 253;">Times New Roman(Embedded Subset)" and it working.<br>but sometimes i see just&nbsp;</span>"<span style=": rgb251, 251, 253;">Times New Roman" without anything (In PDF Options). And if I try to open it in Adobe I get the Error.<br>It is a mystery for me.&nbsp;<br><br>I add every time a font for creating font with&nbsp;</span>DebenuPDFLibraryAddTrueTypeSubsettedFont.<br><br>I thought if I remove the document from Instance&nbsp; (DebenuPDFLibraryRemoveDocument) fonts will be removed as well. Is not the case, how can I clear the fonts I have already added?</div><div><span style=": rgb251, 251, 253;"><br></span>I get the error on PDF Exchange Editor: error loading object misaligned object<br><br></div><div><br></div><span style="font-size:10px"><br /><br />Edited by timur - 27 Jul 21 at 10:35AM</span>]]>
   </description>
   <pubDate>Tue, 27 Jul 2021 07:31:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15845.html#15845</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hi Timur,did you embed the font?If...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15842.html#15842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 26 Jul 21 at 10:02PM<br /><br />Hi Timur,<br><br>did you embed the font?<br>If not i think that the error occurs on systems, where this font isn't installed.<br>Try AddTrueTypeFontFromFile:<br>https://www.debenu.com/docs/pdf_library_reference/AddTrueTypeFontFromFile.php<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Mon, 26 Jul 2021 22:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15842.html#15842</guid>
  </item> 
  <item>
   <title><![CDATA[Font has not been embedded in pdf : Hi everyone,PDFs Created QPDFLibrary...]]></title>
   <link>http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15836.html#15836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3289">timur</a><br /><strong>Subject:</strong> 3941<br /><strong>Posted:</strong> 23 Jul 21 at 1:30PM<br /><br /><div>Hi everyone,</div><div>PDFs Created QPDFLibrary with Version 15</div><div>Platform: Windows Server 2019</div><div>Programming Language: C# (Net Framework 4.72)</div><div><br></div><div>I get following message from Acrobat Reader, but not always.</div><div><br></div>"<b>Cannot find or create the font "GWQGUD+Times New Roman". Some charachters may not display or print correctly.</b>"<div><b>GWQGUD </b>changing every time.</div><div><br></div><div>In some of my created pdfs missing the <b>obj </b>definition for that&nbsp; (I open it Notepad++)</div><div><br></div><div>What can be the cause of missing <b>obj </b>definition. How can I debug it, or how can i check whether obj definition has been added successfully before or after creating&nbsp; pdf?<br><br>Thanks in advance<br><br>KR<br><br>Timur</div>]]>
   </description>
   <pubDate>Fri, 23 Jul 2021 13:30:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/font-has-not-been-embedded-in-pdf_topic3941_post15836.html#15836</guid>
  </item> 
 </channel>
</rss>