Created
October 8, 2012 10:44
-
-
Save ambar/3851910 to your computer and use it in GitHub Desktop.
fix win/chrome punctuation bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'Helvetica Neue'; | |
unicode-range: U+FF0C, U+3001, U+3002; /* 仅转换顿号、逗号、句号 */ | |
src: local(PMingLiU); | |
} | |
@font-face { | |
font-family: sans-serif; | |
unicode-range: U+FF0C, U+3001, U+3002; | |
src: local(PMingLiU); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
@font-face { | |
font-family: 'Helvetica Neue'; | |
unicode-range: U+FF0C, U+3001, U+3002; /* 仅转换顿号、逗号、句号 */ | |
src: local('Heiti SC'), local(PMingLiU); | |
} | |
@font-face { | |
font-family: sans-serif; | |
unicode-range: U+FF0C, U+3001, U+3002; | |
src: local('Heiti SC'), local(PMingLiU); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
font-family
只能单一指定;unicode-range
和src
可以多重指定;详见:http://ethantw.net/lab/han/biaodian_fuhao_yangshi.html