{"action":"created","issue":{"url":"https://api.github.com/repos/Arduboy/Arduboy/issues/120","repository_url":"https://api.github.com/repos/Arduboy/Arduboy","labels_url":"https://api.github.com/repos/Arduboy/Arduboy/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/Arduboy/Arduboy/issues/120/comments","events_url":"https://api.github.com/repos/Arduboy/Arduboy/issues/120/events","html_url":"https://github.com/Arduboy/Arduboy/issues/120","id":137433955,"number":120,"title":"drawChar should let you specify a different font","user":{"login":"yyyc514","id":6473,"avatar_url":"https://avatars.githubusercontent.com/u/6473?v=3","gravatar_id":"","url":"https://api.github.com/users/yyyc514","html_url":"https://github.com/yyyc514","followers_url":"https://api.github.com/users/yyyc514/followers","following_url":"https://api.github.com/users/yyyc514/following{/other_user}","gists_url":"https://api.github.com/users/yyyc514/gists{/gist_id}","starred_url":"https://api.github.com/users/yyyc514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyyc514/subscriptions","organizations_url":"https://api.github.com/users/yyyc514/orgs","repos_url":"https://api.github.com/users/yyyc514/repos","events_url":"https://api.github.com/users/yyyc514/events{/privacy}","received_events_url":"https://api.github.com/users/yyyc514/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T01:26:00Z","updated_at":"2016-03-01T14:36:11Z","closed_at":null,"body":"http://community.arduboy.com/t/adding-font-and-removing-arduboy-font/855/3\r\n\r\nProbably should make this easier.  Providing a custom font isn't that unusual of a thing to want to do.  The question is how to do this without getting both fonts linked or requiring you to always set the font after startup.\r\n\r\nEasy enough to have a `setFont(ptr)`..."},"comment":{"url":"https://api.github.com/repos/Arduboy/Arduboy/issues/comments/190744329","html_url":"https://github.com/Arduboy/Arduboy/issues/120#issuecomment-190744329","issue_url":"https://api.github.com/repos/Arduboy/Arduboy/issues/120","id":190744329,"user":{"login":"MLXXXp","id":8151717,"avatar_url":"https://avatars.githubusercontent.com/u/8151717?v=3","gravatar_id":"","url":"https://api.github.com/users/MLXXXp","html_url":"https://github.com/MLXXXp","followers_url":"https://api.github.com/users/MLXXXp/followers","following_url":"https://api.github.com/users/MLXXXp/following{/other_user}","gists_url":"https://api.github.com/users/MLXXXp/gists{/gist_id}","starred_url":"https://api.github.com/users/MLXXXp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MLXXXp/subscriptions","organizations_url":"https://api.github.com/users/MLXXXp/orgs","repos_url":"https://api.github.com/users/MLXXXp/repos","events_url":"https://api.github.com/users/MLXXXp/events{/privacy}","received_events_url":"https://api.github.com/users/MLXXXp/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T14:36:11Z","updated_at":"2016-03-01T14:36:11Z","body":">Easy enough to have a `setFont(ptr)`...\r\n\r\nI think it's acceptable to require you to specify the font after startup, even if it's the supplied built-in default font.\r\n\r\nAs far as font definitions and handling go, we should consider switching to the way the [SparkFun MicroView Library](https://github.com/sparkfun/SparkFun_MicroView_Arduino_Library) does it:\r\n\r\nThe start of the array itself contains a header which gives the width, height, starting character, number of characters and font map width(?). This allows any size font. Also, since the starting character and number of characters are given, you can define just a (contiguous) subset of the entire 256 characters. For subsets, asking to print any character outside the range just does nothing.\r\n\r\nWe'd have to decide if we wanted to keep the *font size* capability, which allows you to increase the size of a given font.\r\n\r\nWe could \"borrow\" the *drawChar()* function, and the other font support functions, from this library. We could also \"borrow\" their fonts, if desired.\r\n\r\n"}}