{"id":219,"date":"2020-09-20T13:30:45","date_gmt":"2020-09-20T13:30:45","guid":{"rendered":"https:\/\/dcmods.unreliable.network\/?p=219"},"modified":"2020-09-20T13:30:45","modified_gmt":"2020-09-20T13:30:45","slug":"just-why","status":"publish","type":"post","link":"https:\/\/dcmods.unreliable.network\/index.php\/2020\/09\/20\/just-why\/","title":{"rendered":"Just&#8230; why"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"821\" src=\"https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7-1024x821.png\" alt=\"\" class=\"wp-image-220\" srcset=\"https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7-1024x821.png 1024w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7-300x241.png 300w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7-768x616.png 768w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7-449x360.png 449w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-7.png 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I&#8217;ve been wondering for a long time how SA1 draws its &#8220;Now Saving&#8221; and DLC timer strings. Apart from being italicized (and looking glitchy with letters overlapping each other) the font looks thicker than the font used in debug menus, and the 0 character looks different, and I started thinking it was a different font altogether.<\/p>\n\n\n\n<p>Today Exant figured it out, and the answer to all this is just&#8230; Weird. It&#8217;s the same font, but there&#8217;s code that&#8230; replaces the zeroes in text with the letter O. The rest is a lot more believable: the font looks thicker because the letters are stretched horizontally, and the italics are done by offsetting the top right X coordinate of the letter&#8217;s rectangle.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"797\" src=\"https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8-1024x797.png\" alt=\"\" class=\"wp-image-221\" srcset=\"https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8-1024x797.png 1024w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8-300x234.png 300w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8-768x598.png 768w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8-462x360.png 462w, https:\/\/dcmods.unreliable.network\/wp-content\/uploads\/2020\/09\/image-8.png 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I&#8217;ll be updating DC Conversion and the DLCs mod to improve the look of the font, though I also want to rework the DLCs mod from the ground up. I want to make it possible to load the data produced by the SA1 DLC tool I made for SA Tools. That way you&#8217;ll be able to convert DLCs between SA1 and SADX. There&#8217;s some fundamental incompatibility with sounds and music, which I won&#8217;t be able to resolve in a while, so it will probably be only partially compatible, but anyway I&#8217;ll save that for another post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been wondering for a long time how SA1 draws its &#8220;Now Saving&#8221; and DLC timer strings. Apart from being italicized (and looking glitchy with letters overlapping each other) the font looks thicker than the font used in debug menus,&hellip;  <\/p>\n<p class=\"more-link\"><a href=\"https:\/\/dcmods.unreliable.network\/index.php\/2020\/09\/20\/just-why\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7],"class_list":["post-219","post","type-post","status-publish","format-standard","hentry","category-blog","tag-sa1-research"],"_links":{"self":[{"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/posts\/219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/comments?post=219"}],"version-history":[{"count":1,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/posts\/219\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/posts\/219\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/media?parent=219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/categories?post=219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dcmods.unreliable.network\/index.php\/wp-json\/wp\/v2\/tags?post=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}