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

Chinese garbled code #3220

Open
agentUD opened this issue May 1, 2024 · 2 comments
Open

Chinese garbled code #3220

agentUD opened this issue May 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@agentUD
Copy link

agentUD commented May 1, 2024

Description of the problem

I've been using pygmt to draw recently, and found that Chinese fonts are messy, GMT supports Chinese fonts normally, but PYGMT is messy, how can I solve this problem? Thank you for your answer.

Minimal Complete Verifiable Example

No response

Full error message

No response

System information

PyGMT information:
  version: v0.9.0
System information:
  python: 3.8.17 | packaged by conda-forge | (default, Jun 16 2023, 07:01:59) [MSC v.1929 64 bit (AMD64)]
  executable: D:\SoftWare\Work_SoftWare\miniconda3\envs\Fluent-Qt\python.exe
  machine: Windows-10-10.0.19045-SP0
Dependency information:
  numpy: 1.24.4
  pandas: 1.5.3
  xarray: 2023.1.0
  netCDF4: 1.6.4
  packaging: 23.1
  contextily: None
  geopandas: None
  ghostscript: 9.56.1
GMT library information:
  binary version: 6.4.0
  cores: 12
  grid layout: rows
  image layout:
  library path: D:/SoftWare/Work_SoftWare/miniconda3/envs/Fluent-Qt/Library/bin/gmt.dll
  padding: 2
  plugin dir: D:/SoftWare/Work_SoftWare/miniconda3/envs/Fluent-Qt/Library/bin/gmt_plugins
  share dir: D:/SoftWare/Work_SoftWare/GMT6.4/share
  version: 6.4.0
@agentUD agentUD added the bug Something isn't working label May 1, 2024
Copy link

welcome bot commented May 1, 2024

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.

@yvonnefroehlich
Copy link
Member

@agentUD can you please provided code examples for an incorrectly working PyGMT case and a correctly working GMT case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants