1

I'm trying to change basic font to "Arial" but if it is any polish symbol its change back to Calibri like on picture. Is is any way to apply it for polish symbols?

        Run run = new Run();
    RunProperties runProp = new RunProperties();
    Text textRun = new Text()
    {
        Text = text,
        Space = SpaceProcessingModeValues.Preserve
    };
    runProp.Append(new RunFonts() { Ascii = EnumFonts.Arial.ToString() }, new FontSize());
        run.Append(runProp);
        run.Append(textRun);

enter image description here

Dazzyl
  • 53
  • 1
  • 3
  • From a comment on [this answer](https://stackoverflow.com/a/7958183/43846) - _"When you create documents with non-ascii characters you need to set additional properties on the RunFonts instance. For example if you want to set the font of a text with German umlauts **you need to change the HighAnsi property to your font (e.g. "Arial") as well.**"_ – stuartd Dec 17 '20 at 16:23
  • See the section "Volume Mapping" in the alsamixer man page, and the `-R`/`-M` options of amixer. – CL. Feb 15 '23 at 18:52

0 Answers0