Change Drupal font Site-Wide? - drupal

There are a few pretty impressive font apps out there. My favourite is Font your Face (http://drupal.org/project/fontyourface). Only problem is it only allows for you to use existing sources. i.e.
Typekit.com
Google Font API
KERNEST
Font Squirrel
Common fonts -- fonts already available in most browsers
Is there any way to add a "source" that is effectively grabbing files off the server? I want to be able to upload my own fonts.

We've had good luck with webfonts, though we're not using any Drupal modules, just adding them to the theme using CSS.

The #font-your-face module now includes a local fonts module that does exactly what you've described here.

Related

Which FontAwesome package do I need to download to use on my own server?

I would like to use FontAwesome in a WordPress theme for social media icons but I want to have all the FontAwesome files on my own server in a separate folder like /theme/assets/fonts/..Which Font Awesome package do I need, the web or the desktop one?
I always get confused by FontAwesome terminology aswell, but this is what you should use https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself (which is the web version). The only thing left for you to choose form is if you want it in SVG version of standard font. That's totally up to you

How to add custom css font icons in Oracle APEX 5

I have been surfing through the sites looking for a way to add my custom css font icons for my own application.
I have uploaded the css file in the workspace static files, and put the url in Shared Components\ Themes \ Icons \ Custom Library File URLs.
Please show my how to used my custom css font icons, for I don't want to upload images or so.
Depends on your version, but Maxime has an example here describing how to import Font APEX library for APEX 5.0
http://max-tremblay.blogspot.com.au/2017/02/using-font-apex-in-apex-50.html
You're chasing attributes in the theme settings.
Fonts like Wingdings render letters as a variety of symbols. If you look at some font websites likes dafont, you can see a lot of symbol fonts. Download the font file (ttf) and convert it to woff using some converter tool / websites like convertio. You may refer this stackoverflow question to get an idea about its usage in CSS.
Hope this helps.

How to use icons from ttf file

We have Lean Symbol ttf file. We want to use that in our application. We have added that one in our application but don't know how to use it. Like other i.e. glyphicons ttf we use class for accessing its icon representation etc. How I can do w/ this?
We have LeanSymbol.ttf file. When I open it by double click I get this one http://snag.gy/Rwi9Q.jpg
We want use these icon in our application but don't know how to access that icons.
Go to ForntSquirrel's web font generator.
Upload your font.
Download your kit.
The zip that you download has all the fonts in web format and gives you some great examples of how to use them.
You might want to consider using font awesome, which is awesome.
Bootstrap also includes Glyphicons as one of their components.
Use something like font squirrel to convert the font into a web font. You can then add the generated font-face css to your stylesheet.

How to determine the exact 'font-family' CSS value of an uploaded TrueType font?

I have just downloaded KlavikaBold font from the internet and I wish to use it on my website but uploading it on my hosting. I have included the font on the web page but how do I determine its font family and type so I can use it?
You can use something like FontSquirrel's amazing webfont generator to build a proper web font package with all the needed formats and style sheets. (Just uploading a TTF somewhere on the web won't do, it is much more complex than that.)
Note that not every font's license agreement allows for embedding as a web font.

Custom Font not working

I created an application which uses a custom font and it used to work for some reason. Now it doesn't recognize the font I included in the jar and it renders the text using the default font.
I really don't get it. When I run the application from Netbeans everything is OK.
Any ideas? I cleared the Java cache and everything but no luck. I am running JRE 1.6.0_20.
I even tried this guy's example and it does not work. It actually shows squares because of the font not found.
I hope someone has the solution.
JavaFX caches the fonts, so you must register the font before any use of the javafx.scene.text.Font class. Once you use the javafx Font classes, the system fonts are cached and it is never consulted again. Also, this is an AWT specific mechanism and will not work on platforms that support PRISM, like JavaFX-TV.

Resources