Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
调整文件命名以兼容 Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TakWolf committed Sep 11, 2023
1 parent e18f6b9 commit 4ab5432
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
File renamed without changes
File renamed without changes
2 changes: 2 additions & 0 deletions services/font_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def collect_glyph_files(font_config: FontConfig) -> tuple[dict[int, str], list[t
code_point = ord(' ')
elif c_name == 'full_stop':
code_point = ord('.')
elif c_name == 'question':
code_point = ord('?')
else:
code_point = ord(c_name)
registry[code_point] = glyph_file_path
Expand Down

0 comments on commit 4ab5432

Please sign in to comment.