| <!DOCTYPE html> |
| <meta charset=utf-8> |
| <meta name="fuzzy" content="maxDifference=0-255; totalPixels=0-300" /> |
| <style> |
| |
| @font-face { |
| font-family: 'iBooks_PingFang_TC'; |
| src: local('PingFangTC-Light'); |
| font-weight: normal; |
| } |
| |
| @font-face { |
| font-family: 'iBooks_PingFang_TC'; |
| src: local('PingFangTC-Medium'); |
| font-weight: bold; |
| } |
| |
| p { font-size: 60px; margin: 0; } |
| </style> |
| |
| <!-- This test has two purposes: |
| 1. to make sure we're not mixing up glyph IDs between the two versions of PingFang. |
| 2. to make sure we're selecting the correct font weights and not synthesizing when we're not supposed to. --> |
| |
| <p style="font-family: PingFangSC-Medium">【】 |
| |
| <p style="font-family: PingFangSC-Regular; font-weight: bold; font-synthesis: none;">【】 |
| <!-- Currently we're dropping the weight even when not synthesizing. This needs to stop. |
| But for now, make this test pass by using -Regular instead of -Medium. --> |
| |
| <p style="font-family: iBooks_PingFang_TC">【】 |
| |
| <p style="font-family: iBooks_PingFang_TC; font-weight: bold; font-synthesis: none;">【】文禮 |
| |
| <p style="font-family: iBooks_PingFang_TC; font-weight: bold">【】文禮 |