因此,我使用Django,Python,HTML和CSS在mac上創建了一個網站,該網站使用了很多Century Gothic字體。然而,該網站將在Linux上運行,由於Linux沒有世紀哥特式字體,它看起來非常糟糕。我需要一種方法使世紀哥特式字體在Linux上運行。Linux中的Century Gothic字體
2
A
回答
0
嵌入使用 @字體面在CSS中的字體 http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
6
有兩種方式做到這一點:
上傳 「TTF」 和 「EOT」(對於IE9
@font-face { font-family: myFirstFont; src: url('URL/CenturyGothic.ttf'), url('URL/CenturyGothic.eot'); /* IE9 */ }
:在您的服務器)的
Century Gothic Font
文件,並在你的主CSS
像寫您可以從Google Web fonts
使用一個世紀的哥特式的替代(如Didact Gothic),因此,在<head>
標籤把這個代碼:<link href='http://fonts.googleapis.com/css?family=Didact+Gothic' rel='stylesheet' type='text/css'>
而且,在你的
CSS
:font-family: 'Didact Gothic', sans-serif;
+0
所以'URL'可以像'/User/Name/project/CenturyGothic.ttf' – 2013-04-07 23:23:34
相關問題
- 1. Century Gothic Font Usablility問題
- 2. 如何在我的iPhone程序中添加Copperplate Gothic Bold字體?
- 3. 在actionscript中使用Malgun Gothic系統字體
- 4. 使用Century取代世紀哥特王朝的WPF
- 5. std :: time_get - century?
- 6. 我可以在UIWebView屏幕中使用Hiragino Kaku Gothic ProN字體嗎?
- 7. intellij linux字體
- 8. linux上的verdana字體
- 9. 在Linux上的Jasper字體
- 10. 使用Century格式的日期格式
- 11. 在Linux終端中格式化字體
- 12. 在Linux中列出可用字體
- 13. 如何在linux的sublime text2中啓用粗體字體?
- 14. Linux上Netbeans的奇怪字體呈現
- 15. qtconfig在Linux上的字體列表
- 16. Linux系統上的Phpstorm Editor字體
- 17. Linux Firefox默認的sans-serif字體
- 18. Linux上的Microsoft字體許可證
- 19. Exceed/Linux上的Emacs 9x15字體
- 20. Linux平臺上的Ubiqutous字體
- 21. 如何在Linux中使用C更改Framebuffer中的字體?
- 22. 在Mac下使用nsf的「gothic」(tcl/tk go binding)庫的Pb
- 23. Mathematica linux前端中的\ [Conjugate]字體錯誤的解決方法
- 24. 在Linux上找不到字體名稱
- 25. Mingliu字體不能在Linux上工作
- 26. 在Windows中,字體顯示爲斜體,但linux始終顯示爲粗體
- 27. 在linux中指定java工具的字體
- 28. 無法在Linux上的Eclipse中設置「零件標題字體」
- 29. 谷歌字體作爲替補字體家庭不工作
- 30. 具體在Linux中的版本2.6.15 2.6.30.5
所以應該我一直在那裏我的世紀Gothik ttf文件爲了這個工作?它在模板中嗎? – 2013-04-07 07:28:44