c# - True Fixed Width Fonts in WPF -


i'm trying parse lab data microsoft access database i've formatted data text tables (tables created ascii chars) not display correctly. i'm using fixed pitch font (couier new) pitch seems not fixed when printing underscores in markup eveything looks fine when printing underscored lines come short.

the following xaml aligns correctly both on screen (in xamlpad) , on printer (hp cp2025):

  <stackpanel>     <textblock fontfamily="courier new" fontsize="30">abcdefghi</textblock>     <textblock fontfamily="courier new" fontsize="30">a_c_e_g_i</textblock>   </stackpanel> 

i check font substitution settings on printer.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -