forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
Phase D.25: Font.name_far_east — East Asian font support #38
Copy link
Copy link
Open
Labels
Description
Add support for East Asian (CJK) font name property.
API Design
- font.name_far_east — str or None (the East Asian font name)
- font.name_east_asia — alias for the above (matches OOXML terminology)
XML
w:rPr > w:rFonts with w:eastAsia attribute (alongside existing w:ascii, w:hAnsi, w:cs)
python-docx currently only exposes font.name which maps to w:ascii and w:hAnsi. The eastAsia and cs attributes are not accessible.
Also add:
- font.name_cs — Complex Script font name (w:cs attribute)
Upstream: python-openxml#154 (9 comments), python-openxml#346 (8 comments), python-openxml#329 (6 comments)
Reactions are currently unavailable