{"id":1162,"date":"2023-02-16T01:17:10","date_gmt":"2023-02-16T05:17:10","guid":{"rendered":"https:\/\/jausoft.com\/blog\/?p=1162"},"modified":"2023-02-18T19:19:23","modified_gmt":"2023-02-18T23:19:23","slug":"graph-type-rendering-update-3","status":"publish","type":"post","link":"https:\/\/jausoft.com\/blog\/2023\/02\/16\/graph-type-rendering-update-3\/","title":{"rendered":"Graph Type Rendering Update 3"},"content":{"rendered":"<p>Just another little update, the 3rd, see <a href=\"https:\/\/jausoft.com\/blog\/2023\/02\/12\/graph-type-rendering-update-1\/\">first update<\/a> and the <a href=\"https:\/\/jausoft.com\/blog\/2023\/02\/13\/graph-type-rendering-update-2\/\">second one<\/a> for progress.<br \/>\nBasically one bug within the TypecastRenderer has been fixed, transforming the Glyph into our OutlineShape. Furthermore it may produce Java code to be pasted in a test class to test remaining issues.<!--more--><\/p>\n<p>From the <a href=\"https:\/\/jausoft.com\/blog\/2023\/02\/12\/graph-type-rendering-update-1\/\">first update<\/a>, some updated screenshots demonstrating better readable types.<\/p>\n<p><em>Graph rendering<\/em> device metrics using <em>Ubuntu-Light<\/em> 12pt for below examples are: vertical dpi 159.03 6.26 px\/mm, font 12pt 26.50px 4.23mm. Internal 4x <em>vbaa sampling<\/em> was used &#8211; same as before.<\/p>\n<h3>Graph Type Rendering Ubuntu-Light 12pt Text-1, sampling vbaa-4<a href=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1163\" src=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1.png\" alt=\"\" width=\"1140\" height=\"315\" srcset=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1.png 1140w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1-300x83.png 300w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1-1024x283.png 1024w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1-768x212.png 768w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text1-S04-1-1088x301.png 1088w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a>Graph Type Rendering Ubuntu-Light 12pt Text-2 (kerning), sampling vbaa-4<\/h3>\n<h3><a href=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1164\" src=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04-.png\" alt=\"\" width=\"1493\" height=\"241\" srcset=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04-.png 1493w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04--300x48.png 300w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04--1024x165.png 1024w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04--768x124.png 768w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/text-vbaa1-msaa0-Ubuntu_Light-text2-S04--1088x176.png 1088w\" sizes=\"auto, (max-width: 1493px) 100vw, 1493px\" \/><\/a>Debugging Single Types<\/h3>\n<p>Now we have a clean letter &#8216;o&#8217; as rendered w\/ UITypeDemo01<a href=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphO.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1165\" src=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphO.png\" alt=\"\" width=\"800\" height=\"400\" srcset=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphO.png 800w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphO-300x150.png 300w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphO-768x384.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a>&#8230; and an issue with the letter \u00e6 (Ubuntu-Light Glyph-ID 193)<\/p>\n<p><a href=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphAE.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1166\" src=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphAE.png\" alt=\"\" width=\"800\" height=\"400\" srcset=\"https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphAE.png 800w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphAE-300x150.png 300w, https:\/\/jausoft.com\/blog\/wp-content\/uploads\/2023\/02\/demo-norm-cols-800x400-Z0000-T0000-GlyphAE-768x384.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a>The left hand type is rendered regularly from our <em>font engine<\/em>, while the right hand type has been extracted and dropped into a test object to debug our CurveRenderer.<\/p>\n<p>So far so good ..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just another little update, the 3rd, see first update and the second one for progress. Basically one bug within the TypecastRenderer has been fixed, transforming the Glyph into our OutlineShape. Furthermore it may produce Java code to be pasted in a test class to test remaining issues.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,3,8],"tags":[9,13,22,71,16,44,33,31,17,46,68],"class_list":["post-1162","post","type-post","status-publish","format-standard","hentry","category-3d-opengl","category-computer-stuff","category-jogamp","tag-3d","tag-embedded-device","tag-fonts","tag-graph_type_rendering","tag-java","tag-jogamp","tag-linux","tag-mobile","tag-opengl","tag-openjdk","tag-type-rendering"],"_links":{"self":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":4,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions\/1176"}],"wp:attachment":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/categories?post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/tags?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}