{"id":24076,"date":"2021-11-18T09:59:13","date_gmt":"2021-11-18T00:59:13","guid":{"rendered":"https:\/\/www.souichi.club\/?p=24076"},"modified":"2022-03-19T17:18:43","modified_gmt":"2022-03-19T08:18:43","slug":"arduino-ide-font","status":"publish","type":"post","link":"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-font\/","title":{"rendered":"How to change the font in the Arduino IDE"},"content":{"rendered":"<ul class=\"bogo-language-switcher list-view\"><li class=\"en-US en current first\"><span class=\"bogoflags bogoflags-us\"><\/span> <span class=\"bogo-language-name\"><a rel=\"alternate\" hreflang=\"en-US\" href=\"https:\/\/www.souichi.club\/en\/wp-json\/wp\/v2\/posts\/24076\/\" title=\"English\" class=\"current\" aria-current=\"page\">English<\/a><\/span><\/li>\n<li class=\"ja last\"><span class=\"bogoflags bogoflags-jp\"><\/span> <span class=\"bogo-language-name\"><a rel=\"alternate\" hreflang=\"ja\" href=\"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24076\/\" title=\"Japanese\">\u65e5\u672c\u8a9e<\/a><\/span><\/li>\n<\/ul>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e7e07bd4e74\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #454e5c;color:#454e5c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #454e5c;color:#454e5c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e7e07bd4e74\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-font\/#Fonts_in_Arduino_IDE\" >Fonts in Arduino IDE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-font\/#Changing_the_font\" >Changing the font<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-font\/#Before_and_after_comparison\" >Before and after comparison<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fonts_in_Arduino_IDE\"><\/span>Fonts in Arduino IDE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>An article on changing the font of the Arduino IDE, the development environment for Arduino and ESP32, from the default.<\/p>\n\n\n\n<p>Before changing the font, I changed the background color to dark color.<\/p>\n\n\n\n<p>Please <a href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-dark-mode\/\" target=\"_blank\" rel=\"noreferrer noopener\">refer to this article<\/a> for that time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Changing_the_font\"><\/span>Changing the font<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Edit the preferences.txt file, which is located in C:\\Users\\Username\\AppData\\Local\\Arduino15 by default.<\/p>\n\n\n\n<p>Find the following entry.<\/p>\n\n\n<pre><code class=\"lang-shell\">editor.font=Monospaced,plain,12<\/code><\/pre>\n\n\n<p>The default font was Monospaced with a size of 12, so I changed the font to Consolas, which I am used to using, with a size of 13.<\/p>\n\n\n<pre><code class=\"lang-shell\">editor.font=Consolas,plain,13<\/code><\/pre>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before_and_after_comparison\"><\/span>Before and after comparison<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The left is the font before the change, and the right is the font after the change.<\/p>\n\n\n\n<p>The size is a little larger and easier to read, and I personally like the Consolas font because of the diagonal lines on the number zero.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?resize=768%2C407&#038;ssl=1\" alt=\"Change the font\" class=\"wp-image-24083\" width=\"768\" height=\"407\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?resize=1024%2C543&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?resize=300%2C159&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?resize=768%2C407&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?resize=1536%2C815&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?w=1917&amp;ssl=1 1917w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<p>This concludes this article.<\/p>\n\n\n<div class=\"postscript_balloon\">Finally.<\/div>\n\n\n<p>I hope this article will be useful to someone somewhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An article on changing the font of Arduino IDE from default.<br \/>\nThe font and size were changed by modifying the editor.font entry in preferences.txt.<\/p>\n","protected":false},"author":5,"featured_media":24083,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/www.souichi.club\/?p=24011","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[238],"tags":[],"class_list":["post-24076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-m5stack","en-US"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-font-en-01.png?fit=1917%2C1017&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/comments?post=24076"}],"version-history":[{"count":2,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24076\/revisions"}],"predecessor-version":[{"id":25019,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24076\/revisions\/25019"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media\/24083"}],"wp:attachment":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media?parent=24076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/categories?post=24076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/tags?post=24076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}