Skip to content

PdfExporter not supported Cyrillic #123

Description

@vitalii-vov

Hello.
I'm trying to generate a PDF document from a graph using the PdfExporter class.

var exporter = new PdfExporter { Width = width, Height = height, Background = background };
exporter.Export(model, stream);

One of the axes contains Cyrillic characters

var yAxis = new LinearAxis
{
    Position = AxisPosition.Left,
    Title = "FHR, уд/мин" // <- Cyrillic symbols
};

Garbage is displayed instead of characters in the document
Снимок экрана 2022-05-04 в 16 53 56

I tried to solve this with the DefaultFont property, like here oxyplot/oxyplot#955
But it doesn't seem to work for xamarin?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions