CSS3 ??
@font-face? CSS3? ?????. @font-face ??? ???? ? ?? ? ??? ??? ??? ??? ????. ? ?? ??? ???? ?? ?? ?????! ?? ???? IE? ?? ?? ??? ? ??? ??? ????. @font-face ??? IE4?? ?????? ??? ?????? ?? ??? ????. ?? ????? ???? ?? ????? ??, ??, ???? ??? ?? ???? ?? ???? ??? ?? ? ??? ??? ???? @font-face? ?? ??? ????.
?? @font-face? ?? ??? ???????.
@ ??-?? {
[??-??: <?? ??>]?
[src: [ <uri> [??(<string>#)] | < ??-??-??> ]#;]?
[???? ??: <urange>#;]?
[?? ??: <?? ??> ]?
[font-feature-settings: ??|<feature-tag-value>#;]?
[font-stretch: <font-stretch>;]?
[font-weight: <weight>];
[font-style: <style>];
}
? ??:
font-family: ???? ?? ??? ?????.
font-style: ??? ???? ?????.
font-variant: ???? ????? ????? ?????.
font-weight: ???? ??? ?????.
font-stretch: ???? ??? ??? ??? ?????.
font-size: ??? ?? ??? ?????.
src: ??? ?? ??? ?? ?? ?? ?? ??? ?????. ? ??? @font-face ????? ??? ? ????.
???? ????
@font-face?? ???? ??? ??? ?? ??? ?? ?? ?? ??? ??? ????. ?????? ??? ???? ?? ?????. ?? ??? ?? ??? ??? ?????? ?? ??? ??? ????? ?? ??? ???? ?? ?????. ?? ??? ??? ? ?? ??? ?? ???? ???????.
1. TrueTpe(.ttf) ??:
.ttf ??? Windows ? Mac?? ?? ?? ???? ???? RAW ????? ????? ????? ?? ????. ? ??? ???? ?????? [IE9+, Firefox3.5+, Chrome4+, Safari3+, Opera10+, iOS Mobile Safari4.2+]? ?????.
2. OpenType(.otf) ??:
. otf ??? TrueType? ???? ???? ?? ?? ???? ????? ? ??? ???? ????? [Firefox3.5+, Chrome4.0+, Safari3.1+, Opera10. 0+, iOS Mobile Safari4.2+];
3. ? ?? ?? ??(.woff) ??:
.woff ??? ? ?? ??? ?? ?? ?????. ??? TrueType/OpenType? ?? ???? ????? ??? ??? ?????. ? ??? ???? ?????? [IE9+, Firefox3.5+, Chrome6+, Safari3+, Opera11.1+]? ????.
4. Embedded Open Type(.eot) ??:
.eot ??? IE? ?? ?????. ? ??? ???? ????? [IE4+]???.
5. SVG(.svg) ??:
.svg ??? SVG ?? ???? ???? ?? ?????. ? ??? ???? ?????? [Chrome4+, Safari3.1+, Opera10. +, iOS ??? Safari3.2+].
??: ? ???? ???? ??? ????? ?? ?? ?? ??? ?????? ???! ! !
???