Hi,
I am trying to use Custom Font in RichTextBox, without installing that font.
My requirements are, I have TTF files, I need to use that font in the application without actually installing it. RichTextBox default font should be custom font and also font should be listed in RichTextFormatBar FontFamily combobox too.
I added my custom font (using GetFontFamilies) in the list of _cmbFontFamilies, so when i select the text and change its font to my custom font from RichTextFormatBar, font is getting changed properly. But when i reopen the application, text is in Arial font.
Can you suggest something for this?
Thanks in advance.
I am trying to use Custom Font in RichTextBox, without installing that font.
My requirements are, I have TTF files, I need to use that font in the application without actually installing it. RichTextBox default font should be custom font and also font should be listed in RichTextFormatBar FontFamily combobox too.
I added my custom font (using GetFontFamilies) in the list of _cmbFontFamilies, so when i select the text and change its font to my custom font from RichTextFormatBar, font is getting changed properly. But when i reopen the application, text is in Arial font.
Can you suggest something for this?
Thanks in advance.