{"id":405,"date":"2016-03-16T00:15:02","date_gmt":"2016-03-16T00:15:02","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?p=405"},"modified":"2016-03-16T00:15:02","modified_gmt":"2016-03-16T00:15:02","slug":"pdf-plugin-progresses","status":"publish","type":"post","link":"https:\/\/einhugur.net\/blog\/index.php\/2016\/03\/16\/pdf-plugin-progresses\/","title":{"rendered":"PDF Plugin progresses"},"content":{"rendered":"<p>As many have seen on our alpha releases then our PDF plugin is\u00a0has been progressing fast in the past days.<\/p>\n<p>I had both technical and mental setbacks on it, realising that the libharu that we use under the hood has some serious drawbacks. Libharu\u00a0has TrueType embedding to be able to support UTF 8, but issue there is that it can basically only embed .ttf TrueType fonts, not OpenType or any other TrueType format, which limits it very much. In theory it should be able to open also bundled TrueTypes but I was not able to open the bundled ones in the Mac system folder.<\/p>\n<p>I feared that this and the encoding mess of the stock font system in PDF would make it so hard for users to use that it would be best to cancel the project. \u00a0And there is little or no hope that Libharu is going to get better with this as Libharu seems to have no development or maintainers right now so hoping for it to improve the TrueType embedding is a no go. \u00a0And I have no knowledge to do what would be needed to update Libharu to support OpenType and the missing true type format and complete the unicode support.<\/p>\n<p>But after sleeping on it and giving it careful thought then I came up with the plan to add automatic detection of encodings and let it be able to use the PDF stock fonts as much as possible, making it far easier for the user to use even if its not UTF8 with the stock fonts. Then it will figure out what your text needs, and adjust encodings to make it work, so if your document has Icelandic letters then it will figure that out and set up correct encodings, same if it has Japanese then it will set that up automatically. This idea seems to be working for most parts, so there should be some of this to see in the upcoming a5 version.<\/p>\n<p>I would really like feedback on the a5 when it comes, to see if \u00a0users think this is good enough solution. Since if it is not then we might as well cancel this plugin before going much further.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As many have seen on our alpha releases then our PDF plugin is\u00a0has been progressing fast in the past days. I had both technical and mental setbacks on it, realising that the libharu that we use under the hood has some serious drawbacks. Libharu\u00a0has TrueType embedding to be able to support UTF 8, but issue &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/2016\/03\/16\/pdf-plugin-progresses\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PDF Plugin progresses<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd75nk-6x","jetpack-related-posts":[{"id":705,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/06\/09\/whats-been-happening-may-june-2016\/","url_meta":{"origin":405,"position":0},"title":"Whats been happening (May - June 2016) ?","date":"June 9, 2016","format":false,"excerpt":"There has been a bit of silence lately from us on the Plugin front, apart from one small update of TypeLib. For those that have been wondering about it then things have been moving nicely\u00a0internally. \u00a0So around or before mid June we will be updating our PDF Plugin for Xojo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/www.einhugur.com\/Pics\/562x399xPDFLineExampler.png.pagespeed.ic.tAwp6K1_Rf.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":897,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/08\/25\/long-time-no-post\/","url_meta":{"origin":405,"position":1},"title":"Long time no post","date":"August 25, 2017","format":false,"excerpt":"I have not posted anything here for a while but thought it would be good to talk about Gtk3 in Xojo 2017r2. Xojo 2017r2 is out and it now uses Gtk3 on Linux instead of Gtk2. This means that any plugin that uses Gtk2 in any way will not work\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":827,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/01\/07\/we-need-our-users-help-else-important-plugin-showstopper-bugs-in-xojo-are-not-looked-at\/","url_meta":{"origin":405,"position":2},"title":"We need our users help else important plugin showstopper plugin related bugs in Xojo are not looked at","date":"January 7, 2017","format":false,"excerpt":"We really need users to sign onto plugin showstoppers in the Xojo bug base because of their awful system to weight the bugs then if only the plugin author signs them then the issue will not get any attention. This one here causes Plugin control experience on Linux to be\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":833,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/03\/10\/first-preview-of-the-excelwriter-plugin-for-xojo\/","url_meta":{"origin":405,"position":3},"title":"First preview of the ExcelWriter plugin for Xojo","date":"March 10, 2017","format":false,"excerpt":"We have pushed out a preview version of the new ExcelWriter plugin for Xojo. It is on our beta zone. If you are a user with current license but not on our mail list and do not know how to get in the Beta zone then just drop us a\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":824,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/12\/17\/coming-soon\/","url_meta":{"origin":405,"position":4},"title":"Coming soon...","date":"December 17, 2016","format":false,"excerpt":"We will be pushing out a decent ExcelExporter plugin for Xojo soon. For many years we have had the Excel Exporter classes that wrote to old XML Excel file format which has little to no support any more. This format never even was Excel's main format but was more of\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":763,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/08\/10\/comming-soon\/","url_meta":{"origin":405,"position":5},"title":"Comming soon......","date":"August 10, 2016","format":false,"excerpt":"We don't usually post what is about to come but recently when releasing the QRCode Generator then we got many questions on if we would also supply BarCode generator. I can now confirm that BarCode generator is coming. Prototype of the Barcode Generator running: It is at this moment unclear\u2026","rel":"","context":"Similar post","img":{"alt_text":"BarCode","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/08\/BarCode.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/405"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=405"}],"version-history":[{"count":1,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/405\/revisions"}],"predecessor-version":[{"id":406,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/405\/revisions\/406"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}