<?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 : [Android SDK] Issue with text/font not rendered</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 : [Android SDK] Issue with text/font not rendered]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 08 Aug 2026 13:40:12 +0000</pubDate>
  <lastBuildDate>Wed, 04 Oct 2023 10:53:54 +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=4025</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[[Android SDK] Issue with text/font not rendered : But I think the &amp;#039;used pdf-reader&amp;#039;...]]></title>
   <link>http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16319.html#16319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 4025<br /><strong>Posted:</strong> 04 Oct 23 at 10:53AM<br /><br />But I think the 'used pdf-reader' in this case may be the app which&nbsp;<span style=": rgb251, 251, 253;">Krzysztof is writing, in which the PDF is to be displayed or rendered. And I have no idea how different versions (or any versions) of Android deal with&nbsp; fonts, so there is little more I can say.</span>]]>
   </description>
   <pubDate>Wed, 04 Oct 2023 10:53:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16319.html#16319</guid>
  </item> 
  <item>
   <title><![CDATA[[Android SDK] Issue with text/font not rendered : Hi Tim :)But i think that the...]]></title>
   <link>http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16318.html#16318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 4025<br /><strong>Posted:</strong> 03 Oct 23 at 10:33PM<br /><br />Hi Tim :)<div><br></div><div>But i think that the used pdf-reader tries to display the text in a similar layout if the exact font is missing?</div>]]>
   </description>
   <pubDate>Tue, 03 Oct 2023 22:33:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16318.html#16318</guid>
  </item> 
  <item>
   <title><![CDATA[[Android SDK] Issue with text/font not rendered : If the font is not embedded in...]]></title>
   <link>http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16317.html#16317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 4025<br /><strong>Posted:</strong> 02 Oct 23 at 10:12PM<br /><br />If the font is not embedded in the PDF and not on the device, then clearly text in that specific font will not be displayed. I am one of the Windows developers whom Ingo describes as the majority here, so I cannot help you with details of how and whether fonts can be substituted on Android, or how you would find a suitable font to substitute on an Android device; sorry. ]]>
   </description>
   <pubDate>Mon, 02 Oct 2023 22:12:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16317.html#16317</guid>
  </item> 
  <item>
   <title><![CDATA[[Android SDK] Issue with text/font not rendered : HiKrzysztof ... welcome here :)Don&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16316.html#16316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 4025<br /><strong>Posted:</strong> 01 Oct 23 at 2:47PM<br /><br />Hi&nbsp;Krzysztof ... welcome here :)&nbsp;<div><br></div><div>Don't think that nobody is looking here but QuickPDF is mainly used with windows development.</div><div>Due to this experts regarding android will be less here.</div><div>So please be patient and don't stop trying yourself ;-)</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 01 Oct 2023 14:47:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16316.html#16316</guid>
  </item> 
  <item>
   <title><![CDATA[[Android SDK] Issue with text/font not rendered : Hello!I know that library is already...]]></title>
   <link>http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16315.html#16315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3361">k.szalach</a><br /><strong>Subject:</strong> 4025<br /><strong>Posted:</strong> 28 Sep 23 at 8:29AM<br /><br />Hello!<div><br></div><div>I know that library is already discontinued from being supported, but maybe someone will be able to help.</div><div>I have a PDF file which has a text that uses FreeSans font. There are also some other fonts in this PDF, but only text with FreeSans is not rendered at all when using quick PDF SDK (we use rendertobitmap option).&nbsp;</div><div><br></div><div>I've tried to check if the fonts are embedded into the file and using Adobe Reader it seems that only Helvetica is embedded. I confirmed this also by checking within library using FindFonts and getting the font data:</div><div><pre style=": rgb43, 43, 43; color: rgb169, 183, 198; font-family: &quot;JetBrains Mono&quot;, monospace;">(<span style="color: rgb104, 151, 187;">0 </span><span style="color: rgb255, 198, 109; font-style: italic;">until </span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FindFonts()).<span style="color: rgb255, 198, 109; font-style: italic;">forEach </span><span style="font-weight: bold;">{ </span>fontIndex <span style="font-weight: bold;">-&gt;<br></span><span style="font-weight: bold;">    </span><span style="color: rgb204, 120, 50;">val </span>fontId = <span style="color: rgb152, 118, 170;">pdfLibrary</span>.GetFontID(fontIndex)<br>    <span style="color: rgb152, 118, 170;">pdfLibrary</span>.SelectFont(fontId)<br>    Trace.i(<span style="color: rgb152, 118, 170; font-style: italic;">TAG</span><span style="color: rgb204, 120, 50;">, </span><span style="color: rgb106, 135, 89;">"Font: </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontName()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">, </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontFamily()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">, </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontSize()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">, </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontType()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">, </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontHasKerning()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">, </span><span style="color: rgb204, 120, 50;">${</span><span style="color: rgb152, 118, 170;">pdfLibrary</span>.FontReference()<span style="color: rgb204, 120, 50;">}</span><span style="color: rgb106, 135, 89;">"</span>)<br><span style="font-weight: bold;">}</span></pre></div><div><br></div><div>And the outcome is:</div><div><div>Font: , , 0, 0, 0,&nbsp;</div><div>Font: Helvetica, , 0, 2, 0, QuickPDFF03FF2F0B</div></div><div><br></div><div>Although no clue what the first font is, but I guess it doesn't matter. As checked here&nbsp;<a href="http://www.quickpdf.org/forum/n&#111;n&#101;mbedded-fonts-not-working_topic3601.html" rel="nofollow">http://www.quickpdf.org/forum/nonembedded-fonts-not-working_topic3601.html</a>&nbsp;it looks like there are only few embedded fonts in the library. So does it mean that if other fonts are not embedded into PDF file, then the library will not be able to display them?</div><div><br></div><div>My questions are:</div><div>- is it possible to somehow replace on-the-fly fonts, that are not available with some other standard ones? I've seen a method ReplaceFonts, but I couldn't find any info about it.</div><div>- is it possible to add font on-the-fly so the library will be able to render them? All examples I've found are using adding fonts when creating new text or filling form fields, so I don't feel they apply to our use case.</div><div><br></div><div>And now, the most strange part is that this issue occurs only on Android 12, 13 and 14, but not on Android 9, 10 or 11. So it looks like something also changed in Android system that makes it not working anymore. I also did profiling on Android 13 and it looks like there is some issue with SelectFont function in library, which makes significant amount of time.</div><div><a href="https://ibb.co/tPqZTX0" target="_blank" rel="nofollow"><img src="https://i.ibb.co/n873NCX/Android-13-2.jpg" border="0" /></a></div><div><br></div><div>Appreciate any help, thank you!</div>]]>
   </description>
   <pubDate>Thu, 28 Sep 2023 08:29:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/android-sdk-issue-with-text-font-not-rendered_topic4025_post16315.html#16315</guid>
  </item> 
 </channel>
</rss>