Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducing chinese characters in pdf #14

Open
Wobeam opened this issue Nov 22, 2022 · 2 comments
Open

Reproducing chinese characters in pdf #14

Wobeam opened this issue Nov 22, 2022 · 2 comments

Comments

@Wobeam
Copy link

Wobeam commented Nov 22, 2022

using (var s = File.Create(dlg.FileName))
{
                              

           //PdfExporter.Export(this.model, s, plot1.ActualWidth, plot1.ActualHeight); // obsolete

          OxyPlot.SkiaSharp.PdfExporter.Export(model, s, 800, 600); // recommended

}

Hello,
since the system prompt suggests replacing obsolete Oxyplot.PdfExporter, I installed recommended one SkiaSharp.PdfExporter hoping it is able to reproduce chinese characters in pdf, but to no avail. It isn't as well.
Perhaps someone has an idea how to solve that issue?
Chart name
For example: chart name in pdf.

@VisualMelon
Copy link
Contributor

I'm not familiar with the Skia PDF exporter, but I suspect you'll still need to change the font to one that includes the necessary CJK characters.

@Wobeam
Copy link
Author

Wobeam commented Nov 23, 2022

I'm not familiar with the Skia PDF exporter, but I suspect you'll still need to change the font to one that includes the necessary CJK characters.

that font you've mentioned. where?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants