Questions tagged [woff2]

a web font packaging format

Web Open Font Format version 2 (WOFF2) is a web font packaging format that offers improved compression rates compared to WOFF version 1.

Resources:

63 questions
1
vote
1 answer

Internal Server Error 500.19 Plesk / IIS

I upgraded Plesk 12.0 to 12.5 today and got a hard error that causes my website to be unreachable. If I open the website on the server i get the following error message: It says that it that a second entry of the type "mimeType" with the key…
Joggal
  • 61
  • 2
  • 9
1
vote
1 answer

Saving .woff2 fonts into html5 filesystem

I'm trying to take my entire website offline via the HTML5 FileSystem api. So far, I have has no problems, except for the Roboto.woff2 font that I have gotten from Google's website. Basically I have a blob that writes to a file in persistent…
Darrennchan8
  • 192
  • 4
  • 8
1
vote
2 answers

.woff2 failed to load in chrome

I got 404 errors for .woff files. Even though I have followed the instruction in Proper MIME type for .woff2 fonts to add .woff to MIME types in IIS, I am still getting 404 errors. It works in IE, but not in chrome. Any pointers? I can not add…
junli antolovich
  • 323
  • 5
  • 17
1
vote
1 answer

optimizing WOFF2 from google CDN by limiting glyphs, still think the font file is too large

I'm using google fonts, and am checking to see how large my WOFF2 file is in fact going to be. So to test, I loaded a font via their API http://fonts.googleapis.com/css?family=PT+Sans+Narrow&text=hello and then looked at the output @font-face { …
tim
  • 3,823
  • 5
  • 34
  • 39
1
vote
2 answers

stylus.url() base64 encodes woff2 font

I use Stylus to write CSS and the stylus.url() method to base64 encode all images. My problem is that stylus will also encode one of the fonts. It's only one woff2 font that's being encoded. All other are left as URLs. How can I ignore the font file…
pstenstrm
  • 6,339
  • 5
  • 41
  • 62
1
vote
2 answers

Font rendering in Chrome (woff2) - after load font family doesn't want to change

To prevent font rendering lags related to font loading time I wrote some simple script which load CSS containing @font-face and custom fonts with some delay. Thanks to that solution, by default system fonts are used (no lag) and later they are…
LJ Wadowski
  • 6,424
  • 11
  • 43
  • 76
1
vote
2 answers

How to serve woff2 files from owin FileServer

Since font awesome 4.3, they added the fonts as woff2 format. I'm guetting 404ed when trying to serve this file through owin : app.UseFileServer(new FileServerOptions() { RequestPath = PathString.Empty, FileSystem = new…
Florian F.
  • 4,700
  • 26
  • 50
1
vote
0 answers

All variations of font formats being downloaded by Chrome

Why isn't Chrome only requesting WOFF2 instead of every format it accepts?
PI.
  • 1,658
  • 4
  • 19
  • 33
0
votes
0 answers

How can I add a different font to different components from files located on my backend?

I am using NextJS (13) with Sanity to create a web page with a type tester (to test fonts). I have multiple fonts which each have a component. In this component I have used a with a contenteditable. My goal is to assign through @font-face a…
0
votes
0 answers

Multiple woff2 font files or a single ttf with multiple formats (converted to a woff2)? - which is faster

I have apparently found out that I can convert ttf variable font file from google fonts to a compressed woff2 file (50% reduced file) using this site: https://cloudconvert.com/ttf-converter I am wondering how this is possible, but nevertheless it…
Rodin
  • 17
  • 7
0
votes
1 answer

Is it possible to DEFLATE a .woff2 file in .htaccess in nginx?

I have the following in my global .htaccess file on my nginx server: # COMPRESS FILES [...] AddOutputFilterByType DEFLATE application/font-woff2 AddOutputFilterByType DEFLATE font/woff2 [...] I…
Rounin
  • 27,134
  • 9
  • 83
  • 108
0
votes
1 answer

Merging different .woff2 files into one

I downloaded a font via google fonts. That file comes in different styles(?), e.g.: black, italic, bold, etc. and each is a separate .ttf file: Merriweather-BoldItalic.tff Merriweather-LightItalic.tff ... In order to use it as a webfont, i…
Bastian Venthur
  • 12,515
  • 5
  • 44
  • 78
0
votes
1 answer

Parse WOFF2 DirectoryEntry Flags not working

I think this might be the best place to ask stupid questions… so here we are: I’m currently writing a pretty simple woff2 parser to get some information about the font. I got woff and otf parsing working but woff2 gives me headaches. I’m struggling…
gustav
  • 336
  • 3
  • 12
0
votes
1 answer

woff2 file can't be accessed on apache webserver

I'm trying to reach (download or load) a woff2 file on an apache server using hestiacp and I have a 500 error. In the same folder if I put a ttf file when I reach it it downloads it normally. I tried to manage it with a .htaccess file adding AddType…
Neta
  • 49
  • 9
0
votes
1 answer

Flutter using woff2 as custom font

I have flutter mobile app that use a lot of font files (more that 100 MB) .. I am using this function to load the custom font: https://api.flutter.dev/flutter/dart-ui/loadFontFromList.html I am trying to use woff2 format instead of ttf, it will save…
Nawaf Dev
  • 1
  • 1