google / google/woff2

can't transfer SF-Pro-SC.woff2 to .ttf well

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.8k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

I have built the project and run in Terminal. I tried to transfer "Roboto.otf" and "SourceHanSansSC-Regular.otf" (English and Chinese font), and it works well.
But when I transfered the "SF-Pro-SC.woff2" to ".ttf", the result looked not good.

![image](https://user-images.githubusercontent.com/8966024/66796919-c5135c00-ef3b-11e9-8adf-9f706a817b6e.png)

Maybe I need to explain the "SF-Pro-SC.woff2". It's not real "PingFang-SC" or "SF Pro". It seems like a custom-made font for "apple.com/cn" in which Chinese font-size is a little smaller than English.(I guess that's why the result went wrong?)

You will see the difference of font-size in the screen captures below, between "apple.com/cn" (with "SF-Pro-SC.woff2") and "apple.com/us" (without "SF-Pro-SC.woff2").

![image](https://user-images.githubusercontent.com/8966024/66797202-a8c3ef00-ef3c-11e9-9060-38e2699df077.png)

![image](https://user-images.githubusercontent.com/8966024/66797281-d872f700-ef3c-11e9-884b-90f9bf5fc7ed.png)

![image](https://user-images.githubusercontent.com/8966024/66797380-2b4cae80-ef3d-11e9-9c12-8f6104f43f17.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.