{"id":1830,"date":"2016-10-20T15:24:26","date_gmt":"2016-10-20T15:24:26","guid":{"rendered":"http:\/\/bitmap2lcd.com\/blog\/?p=1830"},"modified":"2021-01-25T08:11:15","modified_gmt":"2021-01-25T08:11:15","slug":"export-font-data-to-binary-file-data-structure","status":"publish","type":"post","link":"https:\/\/bitmap2lcd.com\/blog\/export-font-data-to-binary-file-data-structure\/","title":{"rendered":"Export Font Data to Binary File : Data Structure"},"content":{"rendered":"<p style=\"text-align: left;\"><span style=\"color: #808080;\"><strong><em>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems and a programmable graphic and text processing tool.<\/em><\/strong><\/span><\/p>\n<h2>Export Font Data to Binary File : Data Structure<\/h2>\n<p><span style=\"color: #0000ff;\">Standard Edition<\/span> , <strong><span style=\"color: #ff6600;\">Update V4,0<\/span><\/strong><\/p>\n<p>When you export the <strong>Font Script<\/strong> to a Binary File, the data array is sent to the Hex Editor and saved as a <strong>.hex<\/strong> to Disk. ( For example for Data storage in EEprom )<\/p>\n<p><strong>Output + Settings Main Menu :<\/strong><\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2016\/10\/Bitmap2LCD_Binary_Output.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2933 size-full\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2016\/10\/Bitmap2LCD_Binary_Output.jpg\" alt=\"\" width=\"425\" height=\"428\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2016\/10\/Bitmap2LCD_Binary_Output.jpg 425w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2016\/10\/Bitmap2LCD_Binary_Output-298x300.jpg 298w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2016\/10\/Bitmap2LCD_Binary_Output-150x150.jpg 150w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/a><\/p>\n<p>See below the data structure inside the Hex Editor.<\/p>\n<p>In the following example the generated Font is <strong>Arial Unicode<\/strong> Size <strong>10<\/strong> , ANSI, Selected Chars are <strong>A<\/strong> <strong>B<\/strong> and <strong>C<\/strong><\/p>\n<p>Structure :<\/p>\n<p>1st Line , red area <strong>00 03<\/strong> = Number of chars (decimal)<\/p>\n<p>2nd Line, Character Info between <strong>55 AA<\/strong>\u00a0\u00a0 &#8230;.\u00a0 <strong>AA 55<\/strong><\/p>\n<p><strong>00 01<\/strong>\u00a0 Type of Font\u00a0 &gt;&gt; 0001 = ANSI\u00a0 &gt;&gt; 0002 = UNICODE\u00a0 &gt;&gt; 0003 Editable Font<\/p>\n<p><strong>00 36\u00a0 <\/strong>Char Data Count (decimal)<\/p>\n<p><strong>00 10<\/strong> Char Width (decimal)<\/p>\n<p><strong>00 18<\/strong> Char Height (decimal)<\/p>\n<p><strong>00 2D<\/strong> Char ASCII ( Optional &gt; ANSI, Editable font ) or Unicode Char Address (hex)<\/p>\n<p><strong>00 50<\/strong> First Address Next Char (hex)<\/p>\n<p><strong><span style=\"color: #0000ff;\">Blue Area<\/span><\/strong> = Char Pixels data<\/p>\n<p><strong><span style=\"color: #008000;\">Green Area<\/span><\/strong> = Data Filler, Forces next Char to begin from line begin<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/03\/bitmap2lcd-Font-to-Binary.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1833\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/03\/bitmap2lcd-Font-to-Binary.jpg\" alt=\"bitmap2lcd Font to Binary\" width=\"642\" height=\"428\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/03\/bitmap2lcd-Font-to-Binary.jpg 642w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/03\/bitmap2lcd-Font-to-Binary-300x200.jpg 300w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/03\/bitmap2lcd-Font-to-Binary-624x416.jpg 624w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/a><\/p>\n\t<div class=\"quickshare-container\">\r\n\t<ul class=\"quickshare-genericons quickshare-effect-round quickshare-effect-expand quickshare-small\">\r\n\t\t<li class=\"quickshare-share\"><\/li> \r\n\t\t<li><a href=\"https:\/\/facebook.com\/sharer.php?u=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F&amp;t=Export+Font+Data+to+Binary+File+%3A+Data+Structure+<+Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming\" target=\"_blank\" title=\"Share on Facebook\"><span class=\"quickshare-facebook\">Facebook<\/span><\/a><\/li>\t\t<li><a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F&amp;text=Export+Font+Data+to+Binary+File+%3A+Data+Structure+<+Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming\" target=\"_blank\" title=\"Share on Twitter\"><span class=\"quickshare-twitter\">Twitter<\/span><\/a><\/li>\t\t<li><a href=\"http:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F&amp;media=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F10%2FBitmap2LCD_Binary_Output-298x300.jpg&amp;description=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems+and+a+programmable+graphic+and+text+processing+tool.+Export+Font+Data+to+Binary+File+%3A+Data+Structure+Standard+Edition+%2C+Update+V4%2C0+When+you+export+the+Font+Script%26hellip%3B\" target=\"_blank\" title=\"Share on Pinterest\"><span class=\"quickshare-pinterest\">Pinterest<\/span><\/a><\/li>\t\t<li><a href=\"http:\/\/linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F&amp;title=Export+Font+Data+to+Binary+File+%3A+Data+Structure&amp;source=Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming&amp;summary=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems+and+a+programmable+graphic+and+text+processing+tool.+Export+Font+Data+to+Binary+File+%3A+Data+Structure+Standard+Edition+%2C+Update+V4%2C0+When+you+export+the+Font+Script%26hellip%3B\" title=\"Share on Linkedin\" target=\"_blank\"><span class=\"quickshare-linkedin\">Linkedin<\/span><\/a><\/li>\t\t<li><a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F\" target=\"_blank\" title=\"Share on Google+\"><span class=\"quickshare-googleplus\">Google+<\/span><\/a><\/li>\t\t\t\t\t\t\t\t<li><a href=\"mailto:?subject=Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming:+Export+Font+Data+to+Binary+File+%3A+Data+Structure&amp;body=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fexport-font-data-to-binary-file-data-structure%2F\" target=\"_blank\" title=\"Share via Email\"><span class=\"quickshare-email\">Email<\/span><\/a><\/li>\t<\/ul>\r\n\t<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems and a programmable graphic and text processing tool. Export Font Data to Binary File : Data Structure Standard Edition , Update V4,0 When you export the Font Script to a Binary File, the data array is sent to the Hex Editor and saved [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[776,167,133,91],"tags":[586,637,634,775,635,636,638],"class_list":["post-1830","post","type-post","status-publish","format-standard","hentry","category-binary-output","category-glcd-font-editor","category-glcd-fonts","category-about-bitmap2lcd","tag-export-font-to-data","tag-external-flash","tag-font-data-to-binary-file","tag-font-to-eeprom","tag-font-to-hex","tag-glcd-font-data","tag-store-font-in-external-flash"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/comments?post=1830"}],"version-history":[{"count":27,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1830\/revisions"}],"predecessor-version":[{"id":2938,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1830\/revisions\/2938"}],"wp:attachment":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/media?parent=1830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/categories?post=1830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/tags?post=1830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}