Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Characters of a TrueType font missing in Windows.Controls.TextBox

$
0
0

Hi,

I have a Windows.Forms control that changes font from a ComboBox and applies the selected font to the Windows.Controls.TextBox control. When I apply a True-Type font for this TexBox control and type text in it, some of the characters are displayed as rectangles (some characters are missing). But, when I apply same font to a Windows.Forms.TextBox, and write same text in it, all characters a displayed. I am not able to figure out the flaw. Can anyone please help me out with it?

Note : I have preferred WPF.TextBox control as it supports OpenType fonts unlike Windows.Forms.TextBox and I have enbcountered this problem for a specific font (for now).

Thanks


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>