I am using libharu (with Jose's PB headers) in a PowerBASIC program, and am embedding two TrueType fonts into my PDF documents (Arial Bold and Times New Roman). I need to embed the fonts to be compatible with a publisher that uses the PDF file.
i.e.
pv=HPDF_LoadTTFontFromFile (pdf, font_path$+"Arialbd.ttf",%HPDF_TRUE)
This works fine, except a few extended characters are not coming out right in the PDF. Specifically the 1/4 symbol (¼), the 1/2 symbol (½), the 3/4 symbol (¾), and the degree symbol (°). All four of these symbols are present in the Arial-Bold and TimesNewRoman fonts I am embedding, but they appear as square blocks or other characters in the final PDF document.
How can I display those characters using an embedded font?
Thanks,
Anthony
i.e.
pv=HPDF_LoadTTFontFromFile (pdf, font_path$+"Arialbd.ttf",%HPDF_TRUE)
This works fine, except a few extended characters are not coming out right in the PDF. Specifically the 1/4 symbol (¼), the 1/2 symbol (½), the 3/4 symbol (¾), and the degree symbol (°). All four of these symbols are present in the Arial-Bold and TimesNewRoman fonts I am embedding, but they appear as square blocks or other characters in the final PDF document.
How can I display those characters using an embedded font?
Thanks,
Anthony
Comment