Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

Symbol does not display in RichTextBox but does in Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 03 Sep 2004 16:22 GMT
This is an obscure question, but I'm hoping someone may have
experienced something like it.  My program uses RichTextBox controls
for all the text.  Currently text in the Kannada language is being
entered into it using the font KN-TTUma (ttf).  One symbol in
particular, the "Soft Hyphen", U+00AD, Keystroke Alt+0173, shows up
fine in Microsoft Word, but it does not display at all in the rich
text boxes.  It also does not display in WordPad, so it's not just a
Windows Forms problem, it seems to be rich text in general.

Here is the rtf for the symbol in question.  If I save this as
symbol.rtf it does not display in WordPad, but it looks fine in Word.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fdecor\fprq2\fcharset0
KN-TTUma;}{\f1\fnil\fcharset0 Microsoft Sans Serif;}}
\viewkind4\uc1\pard\f0\fs28\'ad\f1\fs17\par
}

Has anyone ever run into a problem like this where a font character
does not display?

Thanks,
Kevin
Roy Soltoff - 03 Sep 2004 20:01 GMT
This won't help you here's some additional info. Wordpad uses the rich text
box control, so if WordPad does not support it, richtext won't. Next, 0xAD
must be a strange character. If you bring up the character map system
utility and try to select that character (fopr those character sets that
have it) into the textbox, nothing shows up.

It's possible that the soft hyphen (what AD is) may not be visible. I
believe that it simply indicates the breaking point of a word if the word
needs to wrap at a hyphenation point. So maybe its just not visible in some
apps.

> This is an obscure question, but I'm hoping someone may have
> experienced something like it.  My program uses RichTextBox controls
[quoted text clipped - 7 lines]
> Here is the rtf for the symbol in question.  If I save this as
> symbol.rtf it does not display in WordPad, but it looks fine in Word.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fdecor\fprq2\fcharset
0
> KN-TTUma;}{\f1\fnil\fcharset0 Microsoft Sans Serif;}}
> \viewkind4\uc1\pard\f0\fs28\'ad\f1\fs17\par
[quoted text clipped - 5 lines]
> Thanks,
> Kevin

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.