Questions tagged [woff]

a cross-browser, web-only font format that uses gzip compression. IE9+, FF3.6+, Chrome 5+

153 questions
3
votes
1 answer

Why isn't woff2 in the mimetype directory?

I see support for woff2 in the Chromium source code but I don't see the mimetype registered with the IANA. http://www.iana.org/assignments/media-types/media-types.xhtml Think about the correct mime type for WOFF 2.0 files (Google uses font/woff2.…
Elijah Lynn
  • 12,272
  • 10
  • 61
  • 91
3
votes
1 answer

IIS 500 error - failed to execute URL on .ttf, .svg and .woff font files?

I'm trying to deploy a web application which references http://fortawesome.github.io/Font-Awesome/ Everything works great locally, but when I deploy I receive several 500 errors. > GET >…
Sean Anderson
  • 27,963
  • 30
  • 126
  • 237
3
votes
1 answer

CSS: How to set a fallback for bold font families?

I am using an own custom font which I embed like this: @font-face{font-family:myFont;src:url(css/fonts/myFont.woff);} @font-face{font-family:myBoldFont;src:url(css/fonts/myBoldFont.woff);} So, when ever I want to use bold font, I…
Timo Ernst
  • 15,243
  • 23
  • 104
  • 165
3
votes
1 answer

does PrivateFontCollection.AddMemoryFont work with WOFF files?

I'm trying to write a web application that supposed to get a link of a font, and return an image of something written in the format of the font that was sent. I'm opening a stream that reads the font file, and send the file's InPtr to…
modz0r
  • 1,022
  • 1
  • 10
  • 17
2
votes
0 answers

Icons Font - WOFF2 showing squares ☒ on some devices

I generated an Icon webfont using IcoMoon, and then used FontSquirrel to convert the TTF file to WOFF and WOFF2 files. The WOFF file is to be used by IE users, and WOFF2 in all other browsers. I used these settings in FontSquirrel: Truetype…
Nuno
  • 3,082
  • 5
  • 38
  • 58
2
votes
3 answers

How can I export only one character from ttf / woff file to avoid load unnecessary file size?

I use only one or two character on my website from ttf / woff file. I want to create new font file for 2 used character to avoid load unnecessary file size.I want to make faster my website.So, I must create new font file which contains only used…
2
votes
0 answers

Getting java.io.IOException: head is mandatory exception while loading .woff and .woff2 type of fonts

I am trying to load .woff and .woff2 fonts and getting below exception. Help me to resolve this. Note: I can't attach the font file since not having permission to share. public void pdfExport() { try { PDFont font =…
Richard
  • 90
  • 11
2
votes
2 answers

My embedded webfont seems to have a permanent padding-bottom

The pictures below demonstrate my issue. Everywhere this font is used you can see that it won't vertically center like another font would. I don't have any whacky line-height settings. It's just like this anywhere I use it. I'm at a loss as to why,…
2
votes
1 answer

Android RunTime exception "Font asset not found" for .woff font files in android nougat

I am developing one application, where I need to use .woff fonts. I have written the following code to get font type face from .woff file and set into textview. hellofont = getFont("fonts/AvenirLTStd-Black.woff"); //welcomefont = getFont (…
Krishna
  • 71
  • 3
2
votes
1 answer

Microsoft Edge @font-face not applying when printing

When browsing the site, all fonts are displaying properly. When printing a page, the preview and corresponding output are all in Times New Roman. Here are my CSS rules: font-family: 'Metric-Regular'; src: url("fonts/MetricWeb-Regular.eot"); src:…
Charlie Schliesser
  • 7,851
  • 4
  • 46
  • 76
2
votes
1 answer

how to have webpack include font awesome woff files in a react based chrome extension?

I'm developing a React.js based chrome extension where all assets are bundled with webpack. On development (with webpack-dev-server), I successfully managed to have Chrome load .woff files from localhost:3000. This is part of the loaders of my…
Tom
  • 8,536
  • 31
  • 133
  • 232
2
votes
2 answers

How to edit/change TTF OS/2 usWeightClass value?

I have the Dosis font which I want to use as a webfont in one of my projects. I can convert the TTF files to WOFF with the Font Squirrel Webfont Generator; nothing new so far. Doing so results in the following error message in the Firefox…
Fleshgrinder
  • 15,703
  • 4
  • 47
  • 56
2
votes
1 answer

Font Awesome 4.1 urls

Anybody knows the absolute URL of the new 4.1 Font Awesome sources (eot, woff, ttf, svg) ? I want to insert as @font-face in CSS like here, I don't want to download the sources or use the minified CSS. Thanks!
István
  • 5,057
  • 10
  • 38
  • 67
2
votes
0 answers

icomoon generated custom font fails to render woff in just one Chrome browser

We've generated a custom font by picking a few FontAwesome symbols and uploading our own custom SVG glyph. The app is a rich web app based on the Dojo framework and using Stylus to generate the CSS, serving the app from IIS 7. It has passed our QA…
Neek
  • 7,181
  • 3
  • 37
  • 47
2
votes
2 answers

How to fill web font icons

I'm using https://github.com/AKIRA-MIYAKE/iOS7-icon-font in one of my projects and I was wondering if it's possible to fill these icons with colour using CSS e.g.
Nick Germi
  • 403
  • 3
  • 6
  • 15