{"id":4844,"date":"2014-03-30T16:04:05","date_gmt":"2014-03-30T16:04:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-do-you-get-the-default-system-font-in-the-net-compact-framework-collection-of-common-programming-errors\/"},"modified":"2014-03-30T16:04:05","modified_gmt":"2014-03-30T16:04:05","slug":"how-do-you-get-the-default-system-font-in-the-net-compact-framework-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-do-you-get-the-default-system-font-in-the-net-compact-framework-collection-of-common-programming-errors\/","title":{"rendered":"How do you get the default system font in the .NET compact framework?-Collection of common programming errors"},"content":{"rendered":"<p>How can I get the <code>Font<\/code> object for the default system font used by the particular device? I&#8217;ve noticed that different devices have different resolutions and DPIs, but some of my controls have explicitly defined fonts. I&#8217;d like to be able to get the default system font at runtime (as if I never changed the <code>Font<\/code> property on the control).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can I get the Font object for the default system font used by the particular device? I&#8217;ve noticed that different devices have different resolutions and DPIs, but some of my controls have explicitly defined fonts. I&#8217;d like to be able to get the default system font at runtime (as if I never changed the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4844","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4844"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4844\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}