{"id":2993,"date":"2021-02-17T19:56:05","date_gmt":"2021-02-17T19:56:05","guid":{"rendered":"https:\/\/bitmap2lcd.com\/blog\/?p=2993"},"modified":"2022-06-13T09:16:00","modified_gmt":"2022-06-13T09:16:00","slug":"glcd-font-generator-data-and-structure-parameters","status":"publish","type":"post","link":"https:\/\/bitmap2lcd.com\/blog\/glcd-font-generator-data-and-structure-parameters\/","title":{"rendered":"GLCD Font generator : Data and Structure parameters"},"content":{"rendered":"\n<p class=\"has-text-color\" style=\"color:#ff7206\"><strong>Update V4.6<\/strong><\/p>\n\n\n\n<p>The <strong>Data format<\/strong> and <strong>Data Structure<\/strong> Parameters for the export of Graphic LCD Fonts have been extended and split in two tabs on the <strong>Font Panel<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"990\" height=\"748\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1.png\" alt=\"\" class=\"wp-image-3152\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1.png 990w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1-300x227.png 300w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1-768x580.png 768w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/Bitmap2lcd_font_generator_1-624x471.png 624w\" sizes=\"auto, (max-width: 990px) 100vw, 990px\" \/><\/a><\/figure>\n\n\n\n<p>The Tab names are <strong>Data<\/strong> and <strong>Struct<\/strong> and <strong>Header<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Data-parameters.png\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"515\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Data-parameters.png\" alt=\"\" class=\"wp-image-3185\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Data-parameters.png 288w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Data-parameters-168x300.png 168w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Structure-parameters.png\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"529\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Structure-parameters.png\" alt=\"\" class=\"wp-image-3181\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Structure-parameters.png 288w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Structure-parameters-163x300.png 163w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Headers-parameters.png\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"395\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Headers-parameters.png\" alt=\"\" class=\"wp-image-3188\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Headers-parameters.png 288w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2022\/06\/bitmap2lcd_Headers-parameters-219x300.png 219w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>There&#8217;s a choice between <strong>4 different GLCD data structures<\/strong>.<\/p>\n\n\n\n<p>The Font character descriptors \/ Font Char Header information \/ can optionally be enabled or disabled and their order of appearance in the code defined. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Character<\/strong> <strong>Descriptors \/ Font Char Header<\/strong><\/p>\n\n\n\n<p>Switch the needed descriptors to <strong>True<\/strong> or<strong> False<\/strong>, if you need them or not in your code export. the adjust then order of their appearance in the code at the right.<\/p>\n\n\n\n<p><strong>Char Adress<\/strong> : It&#8217;s the Ascii Code of the Char (In the case of Editable Custom Fonts, you can adjust the <strong>Ascii Offset<\/strong> in the Data Parameters to adjust the Char address.<\/p>\n\n\n\n<p>Start Address : Start Address of the Data array of the char.<\/p>\n\n\n\n<p><strong>Char Width Bits :<\/strong> Width in bits of the char.<\/p>\n\n\n\n<p><strong>Char Height Bits<\/strong> : Height in bits of the char.<\/p>\n\n\n\n<p><strong>Char Size Bytes<\/strong> : Size in bytes of the char.<\/p>\n\n\n\n<p><strong>Char Size Bits<\/strong> : Size in bits of the char. Example : If the bottom right pixel of the char is X18 , Y31 (in the Char Grid of the Font Panel) + the X0 Y0 bits, so 19 bits in width x 32 bits in height, the Char size in Bits is 19 x 32 = 608 pixels<\/p>\n\n\n\n<p>An <strong>X <\/strong>and <strong>Y Offset<\/strong> system is available to <strong>remove lines of blank pixels<\/strong> in the code ( char background ) and save memory space. The blank lines at the top and at the bottom of the data are removed from the code output and replaced by <strong>Offset<\/strong>s in the descriptors.<\/p>\n\n\n\n<p><strong>Char Spacing :<\/strong> Spacing adjustment in pixels chars. <\/p>\n\n\n\n<p>For this subject, also read this article about character spacing with kerning pairs :<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-bitmap-2-lcd-software-tool-blog-about-glcd-displays-and-programming wp-block-embed-bitmap-2-lcd-software-tool-blog-about-glcd-displays-and-programming\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"NKVbxgHnPJ\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/export-of-the-kerning-pairs\/\">Export of the Kerning Pairs for GLCD<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Export of the Kerning Pairs for GLCD&#8221; &#8212; Bitmap2LCD Software Tool Blog :: about GLCD displays and Programming\" src=\"https:\/\/bitmap2lcd.com\/blog\/export-of-the-kerning-pairs\/embed\/#?secret=bB6Pj35598#?secret=NKVbxgHnPJ\" data-secret=\"NKVbxgHnPJ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>An optional <strong>Terminator Code<\/strong> can be inserted as last byte at the end of the code.<\/p>\n\n\n\n<p class=\"has-text-align-center\">&gt;.&lt;<\/p>\n\n\n\n<p class=\"has-blue-color has-text-color has-medium-font-size\"><strong>Font Descriptors \/ Global Font Header<\/strong><\/p>\n\n\n\n<p>An optional 4 bytes global <strong>Font Header<\/strong> outputs data at the top of the <strong>Font Bloc<\/strong> <strong>structure<\/strong>.<\/p>\n\n\n\n<p>Data such as <strong>global Char Height<\/strong> and <strong>Width<\/strong> and <strong>Number of Chars<\/strong> can be exported there.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-text-align-center\">>.&lt;<\/p>\n\n\n\n<p class=\"has-blue-color has-text-color has-medium-font-size\"><strong>More to read :<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-bitmap-2-lcd-software-tool-blog-about-glcd-displays-and-programming wp-block-embed-bitmap-2-lcd-software-tool-blog-about-glcd-displays-and-programming\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Hk3OPViNX4\"><a href=\"https:\/\/bitmap2lcd.com\/blog\/font-editor-and-generator-for-graphic-lcd-glcd\/\">Font Editor and Generator for Graphic LCD  (GLCD)<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Font Editor and Generator for Graphic LCD  (GLCD)&#8221; &#8212; Bitmap2LCD Software Tool Blog :: about GLCD displays and Programming\" src=\"https:\/\/bitmap2lcd.com\/blog\/font-editor-and-generator-for-graphic-lcd-glcd\/embed\/#?secret=j4kA8XtQTw#?secret=Hk3OPViNX4\" data-secret=\"Hk3OPViNX4\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\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%2Fglcd-font-generator-data-and-structure-parameters%2F&amp;t=GLCD+Font+generator+%3A+Data+and+Structure+parameters+<+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%2Fglcd-font-generator-data-and-structure-parameters%2F&amp;text=GLCD+Font+generator+%3A+Data+and+Structure+parameters+<+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%2Fglcd-font-generator-data-and-structure-parameters%2F&amp;media=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fwp-content%2Fuploads%2F2021%2F02%2Fbitmap2LCD_Font_panel_Structure-300x231.png&amp;description=Update+V4.6+The+Data+format+and+Data+Structure+Parameters+for+the+export+of+Graphic+LCD+Fonts+have+been+extended+and+split+in+two+tabs+on+the+Font+Panel.+The+Tab+names+are+Data+and+Struct+and+Header+There%27s+a+choice%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%2Fglcd-font-generator-data-and-structure-parameters%2F&amp;title=GLCD+Font+generator+%3A+Data+and+Structure+parameters&amp;source=Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming&amp;summary=Update+V4.6+The+Data+format+and+Data+Structure+Parameters+for+the+export+of+Graphic+LCD+Fonts+have+been+extended+and+split+in+two+tabs+on+the+Font+Panel.+The+Tab+names+are+Data+and+Struct+and+Header+There%27s+a+choice%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%2Fglcd-font-generator-data-and-structure-parameters%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:+GLCD+Font+generator+%3A+Data+and+Structure+parameters&amp;body=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fglcd-font-generator-data-and-structure-parameters%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>Update V4.6 The Data format and Data Structure Parameters for the export of Graphic LCD Fonts have been extended and split in two tabs on the Font Panel. The Tab names are Data and Struct and Header There&#8217;s a choice between 4 different GLCD data structures. The Font character descriptors \/ Font Char Header information [&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":[167,133],"tags":[798,789,790,788,636,787,791,795,796,797],"class_list":["post-2993","post","type-post","status-publish","format-standard","hentry","category-glcd-font-editor","category-glcd-fonts","tag-char-descriptors","tag-char-header","tag-char-offset","tag-font-header","tag-glcd-font-data","tag-glcd-font-structure","tag-graphic-lcd-font","tag-terminator-code","tag-xoffset","tag-yoffset"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/2993","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=2993"}],"version-history":[{"count":38,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/2993\/revisions"}],"predecessor-version":[{"id":3198,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/2993\/revisions\/3198"}],"wp:attachment":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/media?parent=2993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/categories?post=2993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/tags?post=2993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}