Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaccb524

Browse files
committed
Implement text shaping with libraqm
1 parent198f942 commitaccb524

File tree

79 files changed

+185
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+185
-183
lines changed

‎lib/matplotlib/_text_helpers.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,6 @@ def warn_on_missing_glyph(codepoint, fontnames):
2525
f"({chr(codepoint).encode('ascii','namereplace').decode('ascii')}) "
2626
f"missing from font(s){fontnames}.")
2727

28-
block= ("Hebrew"if0x0590<=codepoint<=0x05ffelse
29-
"Arabic"if0x0600<=codepoint<=0x06ffelse
30-
"Devanagari"if0x0900<=codepoint<=0x097felse
31-
"Bengali"if0x0980<=codepoint<=0x09ffelse
32-
"Gurmukhi"if0x0a00<=codepoint<=0x0a7felse
33-
"Gujarati"if0x0a80<=codepoint<=0x0affelse
34-
"Oriya"if0x0b00<=codepoint<=0x0b7felse
35-
"Tamil"if0x0b80<=codepoint<=0x0bffelse
36-
"Telugu"if0x0c00<=codepoint<=0x0c7felse
37-
"Kannada"if0x0c80<=codepoint<=0x0cffelse
38-
"Malayalam"if0x0d00<=codepoint<=0x0d7felse
39-
"Sinhala"if0x0d80<=codepoint<=0x0dffelse
40-
None)
41-
ifblock:
42-
_api.warn_external(
43-
f"Matplotlib currently does not support{block} natively.")
44-
4528

4629
deflayout(string,font,*,kern_mode=Kerning.DEFAULT):
4730
"""
Loading

‎lib/matplotlib/tests/baseline_images/test_bbox_tight/bbox_inches_tight_suptile_legend.svg

Lines changed: 3 additions & 3 deletions
Loading
Binary file not shown.
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp