scharfe Windows Schriften ========================= .. |date| date:: .. sidebar:: Info .. image:: ../images/logo-freebsd.png .. image:: ../images/logo-openbsd.png .. image:: ../images/logo-netbsd.png .. image:: ../images/logo-dragonflybsd.png Ziel dieses Artikels soll es sein unter Xorg genauso scharfe klare Schriften zu erzeugen, wie unter Windows XP. Das meisste hier gelistete Material basiert auf diesem Artikel: http://www.howtoforge.com/sharp_fonts_gnome Funktionalitaet --------------- - scharfe Standardschriften wie unter Windows XP - klare chinesische Schriften, auch bei einer Groesse von 8 - schicke Terminal-Emulator Schriften Hauptkonfiguration Konfiguration -------------------------------- Installierte Schriftarten ~~~~~~~~~~~~~~~~~~~~~~~~~ Basic Fonts ^^^^^^^^^^^ - `x11-fonts/dejavu `__ - `x11-fonts/bitstream-vera `__ - `x11-fonts/droid-fonts-ttf `__ - `x11-fonts/urwfonts `__ - `x11-fonts/webfonts `__ Windos Fonts ^^^^^^^^^^^^ Wer moechte kann zusaetzlich noch von einem Windows Rechner seine Windows Schriftarten rueberkopieren. Dazu sei hierhin verwiesen: http://www.freebsd.org/doc/handbook/x-fonts.html Terminal Emulator Fonts ^^^^^^^^^^^^^^^^^^^^^^^ Falls jemand die Terminus Schriftart nicht kennt, dass ist ein echtes Schmuckstueck und ihr solltet mal probieren diese zu installieren und dann im Terminal einzustellen (sehr huebsch!) - `x11-fonts/terminus-font `__ Fuer chinesische Zeichendarstellung ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - `x11-fonts/wqy `__ - `chinese/ttfm `__ Fuer den letzteren Port "ttfm" muessen folgende Schriftarten zur Verfuegung stehen: SimSun, SimHei, Tahoma. .. code:: BASH root> mkdir /usr/ports/distfiles/msttf root> cp tahoma.ttf simhei.ttf simsun.ttf /usr/ports/distfiles/msttf root> cd /usr/local/chinese/ttfm/ && make install clean Xorg.conf ~~~~~~~~~ In der Sektion "Monitor" unter der xorg.conf muss eine Aufloesung von 96dpi sein .. code:: xorg.conf DisplaySize 270 203 # 1024x768 96dpi DisplaySize 338 211 # 1280x800 96dpi DisplaySize 338 254 # 1280x960 96dpi DisplaySize 338 270 # 1280x1024 96dpi DisplaySize 370 277 # 1400x1050 96dpi DisplaySize 423 370 # 1600x1400 96dpi EndSection Das ganze laesst sich wie folgt berechnen :: X = (pixelsize / 96) * 25.4 Y = (pixelsize / 96) * 25.4 Beispiel fuer 1280x800 :: X = ( 1280 / 96 ) * 25.4 = 338.66 ~ 338 Y = ( 800 / 96 ) * 25.4 = 211.66 ~ 211 Meine Monitor Sektion sieht wie folgt aus: .. code:: xorg.conf Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" Option "DPMS" DisplaySize 338 211 # 1280x800 96 dpi VertRefresh 60 EndSection ~/.fonts.conf ~~~~~~~~~~~~~ Die Datei wurde fast komplett von http://www.howtoforge.com/sharp_fonts_gnome uebernommen, mit Anpassung fuer Chinesische Font Substitution und einer Fehlerkorrektur. .. code:: XML 96 false unknown rgb Franklin Gothic Medium Frutiger Linotype Lucida Sans Unicode 13.4 medium roman false Comic Sans MS 15 medium roman false Georgia Lucida Sans Lucida Sans Typewriter Microsoft Sans Serif Tahoma Trebuchet MS Verdana 16.1 medium roman false Arial Arial Narrow Berling Antiqua Book Antiqua Bookman Old Style Garamond Lucida Console Palatino Linotype SylfaenARM Times New Roman 17.4 medium roman false Century Gothic Kartika 21.4 medium roman false Vrinda 23 medium roman false Courier New 29.4 medium roman false Georgia 12 medium roman false Tahoma Verdana 13.4 medium roman false Courier New 16 medium roman false Franklin Gothic Medium 9 false hintfull Bitstream Charter Courier 10 Pitch DejaVu Sans Condensed DejaVu Serif Condensed FreeMono FreeSans FreeSerif Luxi Mono Luxi Sans Luxi Serif MgOpen Canonica MgOpen Cosmetica MgOpen Modata MgOpen Moderna URW Bookman L URW Chancery L URW Gothic L URW Palladio L true Arial 12 13.4 medium roman true Book Antiqua 16 medium roman true Frutiger Linotype Times New Roman Verdana medium roman true SimSun NSimSun SimHei AR PL ShanHeiSun Uni AR PL SenKai Uni AR PL New Sung FZSongTi FZMingTiB FangSong_GB2312 KaiTi_GB2312 8 12 12 7 7 9.4 9.4 Arial 10.7 medium 10.7 matrix true Bitstream Charter Arial Bitstream Vera Sans Arial DejaVu Sans Condensed Arial FreeSans Arial Helvetica Arial Lucida Arial LucidaBright Arial Lucida Bright Arial Luxi Sans Arial MgOpen Cosmetica Arial MgOpen Modata Arial MgOpen Moderna Arial System Arial URW Gothic L Arial Verdana Arial Bitstream Vera Serif Georgia DejaVu Serif Georgia DejaVu Serif Condensed Georgia FreeSerif Georgia Luxi Serif Georgia MgOpen Canonica Georgia New Century Schoolbook Georgia New York Georgia Palatino Georgia Times Georgia URW Bookman L Georgia URW Palladio L Georgia Andale Mono Courier New Bitstream Vera Sans Mono Courier New Courier Courier New DejaVu Sans Mono Courier New Fixedsys Courier New FreeMono Courier New LucidaTypewriter Courier New Lucida Typewriter Courier New Luxi Mono Courier New Monaco Courier New Terminal Courier New Apple Chancery Comic Sans MS Lucida Handwriting Comic Sans MS URW Chancery L Comic Sans MS Zapf Chancery Comic Sans MS Copperplate Impact Desdemona Impact Kino Impact Techno Impact sans-serif Arial serif Georgia monospace Courier New cursive Comic Sans MS fantasy Impact Window Manager spezifisches --------------------------- ============== ======== ======================================= Window Manager getested zusaetzliche Einstellungen erforderlich ============== ======== ======================================= Gnome Ja Ja KDE Nein - XFCE Nein - Fluxbox Nein - ============== ======== ======================================= Gnome ~~~~~ Im Menu :: System -> Preferences -> Appearance Dan zu Fonts wechseln :: **Fonts** Application Font Document Font Desktop Font Windows Title Font Fixed width Font **Rendering** [ ] Monochrome [ ] Best Shaped [ ] Best Contrast [X] Subpixel Smoothing (LCD) Danach zu **Details** wechseln :: **Font Rendering Details** Resolution: [96] dots per inch **Smoothing** [ ] None [ ] Grayscale [X] Subpixel (LCD) **Hinting** [ ] None [ ] Slight [ ] Medium [X] Full **Subpixel Order** (*) RGB ( ) BGR ( ) VRGB ( ) VBGR Probleme -------- Derzeit gibt es ein paar Probleme mit Webseiten FIXME ================ ============================================== ========================== ============================================================== ========== Browser Page Beschreibung Ursache Datum ================ ============================================== ========================== ============================================================== ========== Chrome / Firefox www.golem.de Schriften sehr unleserlich font: normal normal 400 14px/20px 'Droid Serif',georgia,serif; 02.06.2011 Chromr / Firefox http://www.hsk.org.cn/news/news20101108_c.html Schriften sehr unleserlich font-family: "宋体", "Arial Unicode MS"; 2.06.2011 ================ ============================================== ========================== ============================================================== ========== Screenshots ----------- ... Todo Notepad ~~~~~~~ **FreeBSD Gnome** |Screenshot1| **Windows** FIXME Chrome ~~~~~~ **FreeBSD Gnome** |Screenshot2| **Windows** FIXME Firefox ~~~~~~~ **FreeBSD Gnome** |Screenshot3| **Windows** FIXME Desktop ~~~~~~~ **FreeBSD Gnome** |Screenshot4| **Windows** FIXME Terminal mit Terminus ~~~~~~~~~~~~~~~~~~~~~ |Screenshot5| Todo ---- - Screenshots von Windows und Xorg mit (ein paar Standardapplikationen, Firefox, Chrome, etc) um den Vergleich zu sehen und auch evtl. Unterschiede - Problem-Section - Testen auf KDE, XFCE, Fluxbox, evtl weitere Dokumentation der Aenderungen ----------------------------- Damit man auf einen Blick schnell sieht, ob irgendetwas an den Konfigurationsdateien geaendert wurde, gibt es diese Sektion hier Links ----- - `Gnome Howto Sharp Fonts `__ - http://hi.baidu.com/linuxcfan/blog/item/f561b48c613f461bb31bbad2.html - http://www.freebsd.org/doc/handbook/x-fonts.html .. |Screenshot1| image:: images/bsd_notepad.png :width: 180px .. |Screenshot2| image:: images/bsd_chrome.png :width: 180px .. |Screenshot3| image:: images/bsd_firefox.png :width: 180px .. |Screenshot4| image:: images/bsd_desktop.png :width: 180px .. |Screenshot5| image:: images/bsd_terminal.png :width: 180px * :ref:`genindex` Zuletzt geändert: |date|