title: font size scaling in Windows Store Universal App (W8.1 + WP8.1)
body: <p>How do i scale text in Windows Store Universal App (W8.1 + WP8.1)? Basically, the app should look the same regardless which device/resolution is used. The current situation is that layout (dynamic grid based layout) and images scale well except of the text (font size).</p>
  
  <p>The text displayed looks nice for WVGA resolution (480 × 800) but is incredible small for 1080p resolution.</p>
  
  <p>I already read a lot of stuff like 
  <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465362.aspx">Guidelines for scaling to pixel density</a> or
  <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465349.aspx">Guidelines for supporting multiple screen sizes</a></p>
  
  <p>But i still don't know how to scale text to stay readable regardless of display resolution/DPI.</p>
  
  <p>Of course i could write a class which uses the <a href="http://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.resolutionscale.aspx">DisplayInformation.ResolutionScale</a> property to convert the font size to an appropriated value.</p>
  
  <p>example:</p>
  
  <ul>
  <li>FontSize 16 on WVGA with ScaleFactor 1x equals FontSize 16</li>
  <li>FontSize 16 on WXGA with ScaleFactor 1.6x equals FontSize 25,6</li>
  <li>FontSize 16 on 720p with ScaleFactor 1.5x equals FontSize 24</li>
  <li>FontSize 16 on 1080p with ScaleFactor  2.25x equals FontSize 36</li>
  </ul>
  
  <p>But I'm uncertain if this will work for all scenarios. Is there a better way to do so? I thought such a common task could be performed with some build in functionality.</p>
  
  <p>Disclaimer:
  this is (hopefully) not a "let me google this for you question" I found tons of pages which are about scaling but they all cover the layout or images. But I couldn't find anything about font size scaling. Please forgive me if I missed something.</p>
  
  <p><hr>
  <strong>Edit:</strong> I'm afraid, i failed to express the problem clearly: (WVGA on the left, 1080p on the right)
  <img src="https://i.stack.imgur.com/SCkwk.png" alt="WVGA vs. 1080p"></p>