ppresume/community

feat: set correct numbers style based on user chosen language

Closed this issue · 1 comments

Description

\setmainfont[Numbers={OldStyle}]{Linux Libertine} in XeTeX supports settings different styles for numbers, check this post for OldStyle and Lining numbers:

image

While OldStyles numbers looks pretty nice in English resumes, it looks bad in CJK resumes, so we want to set proper numbers style based on resume languages.

[Optional] Possible Solutions

NA

Acceptance Criteria

  • set OldStyle numbers for English resumes
  • set Lining numbers for English resumes

Todo list

NA

This is done.

For English resumes, PPResume would apply old style numbers, while for CJK resumes, it would use lining numbers.

Preview:

image