Webfonts lokal hosten

  • http://www.aw-bsi.de hier ist Ubuntu Mono eigentlich richtig eingebunden gem. Beschreibung. Wird aber nicht umgesetzt? Wie schreibe ich es im Editor 'Ubuntu Mono' oder Ubuntu Mono ???

    Code
    <style>
    /* ubuntu-mono-regular - latin */
    @font-face {  font-family: 'Ubuntu Mono';  font-style: normal;  font-weight: 400;  src: url('fonts/ubuntu-mono-v15-latin-regular.eot'); /* IE9 Compat Modes */  src: local(''),       url('fonts/ubuntu-mono-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */       url('fonts/ubuntu-mono-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */       url('fonts/ubuntu-mono-v15-latin-regular.woff') format('woff'), /* Modern Browsers */       url('fonts/ubuntu-mono-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */       url('fonts/ubuntu-mono-v15-latin-regular.svg#UbuntuMono') format('svg'); /* Legacy iOS */
    }
    
    </style> 
    Code
    <style>
    /* ubuntu-mono-regular - latin */
    @font-face {  font-family: 'Ubuntu Mono';  font-style: normal;  font-weight: 400;  src: url('fonts/ubuntu-mono-v15-latin-regular.eot'); /* IE9 Compat Modes */  src: local(''),       url('fonts/ubuntu-mono-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */       url('fonts/ubuntu-mono-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */       url('fonts/ubuntu-mono-v15-latin-regular.woff') format('woff'), /* Modern Browsers */       url('fonts/ubuntu-mono-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */       url('fonts/ubuntu-mono-v15-latin-regular.svg#UbuntuMono') format('svg'); /* Legacy iOS */
    }
    
    </style> 

    Fonts sind auch im Ordner drin und hochgeladen.

    Danke für Hilfe, eigentlich ein 10 Minuten Job frisst jetzt Zeit! Danke!

  • Nein, das ist noch nicht richtig eingebunden.

    Bitte genau, wie auf folgender Seite beschrieben vorgehen:

    LMGTFY
    LMGTFY
    de.lmgtfy2.com

    Im Layout-Designer bei allen Schriftfamilie-Feldern, dann folgendes eintragen:

    'Ubuntu Mono', 'Helvetica Neue', Helvetica, Arial, sans-serif

    Freundliche Grüße
    Steffen T. (Zeta Producer-Support)

  • Danke, das war aber mal anders, nein? Also geht es um diezusätzliche Einbindung von : , 'Helvetica Neue', Helvetica, Arial, sans-serif

    Steht das irgendwo? Aber nochmals merci.

  • Ich habe mich falsch formuliert. Heisst die Regel für lokal gehostete Schriftarten im Editor: immer mit " 'Helvetica Neue', Helvetica, Arial, sans-serif " aufführen ??? Nicht solo möglich? Danke

  • Nein, das sind nur sogenannte Fallback-Fonts, die genutzt werden, wenn der erste Font in der Liste nicht vorhanden ist, bzw. nicht geladen werden kann. In der Regel wählt man da dann passende Ersatzschriften, also wenn der Wunschfont serifenlos ist, eben auch serifenlose Ersatztschriften. Die Angabe der Fallback-Fonts ist optional.

    Freundliche Grüße
    Stefan S. (Zeta Producer-Support)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!