How to change font to normal text for symbols exist in word document

Hi Team,

I need to change font of symbols in uploaded documentsymbolsfontchange.docx (12.8 KB)
to normal text as shown in image

Please give me code for font conversion. its an urgent requirement

Thanks and Regards,
Harish G.

@HarishGali You can change font using Font.Name property. but you should note that regular fonts might not contain glyphs of the symbols, which are defined in symbolic fonts like Symbol or Wingdings.

Hi alexey,

my requirement is To insert Greek letters (α, β, γ, κ, λ, τ, Δ), use Font: (normal text), Subset: Greek and Coptic on the Symbol menu.

Is there any way to manipulate symbols menu.

Thanks and regards,
Harish G.

@HarishGali When you insert a normal text symbol in MS Word, it is inserted with standard font:

So to insert Greek letters with normal font, you should simply use regular font, for example Calibri:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Font.Name = "Calibri";
builder.Write("α, β, γ, κ, λ, τ, Δ");
doc.Save(@"C:\Temp\out.docx");

Thanks for your response, is there any way to access symbol menu with aspose.

How to insert symbol with the font and subset available in symbol menu.

Thanks and Regards,
Harish G.

@HarishGali Aspose.Words works directly with document files. There is no way to access MS Word UI using Aspose.Words. As I mentioned inserting symbol is the same as inserting any other text into the document. The following code inserts Greek symbols formatted with Calibri font.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Font.Name = "Calibri";
builder.Write("α, β, γ, κ, λ, τ, Δ");
doc.Save(@"C:\Temp\out.docx");

In the same way any option to get or set the Subset value also?

@HarishGali Subset specifies a group of characters within the font. Detecting the group of character within the font is out of Aspose.Words scope.