FAQ Database Discussion Community

## How to display Apple San Francisco's numbers mono-spaced rather than proportionally?

osx,fonts,apple
I've recently installed El Capitan on OSX, which comes with the new San Franciso font as system font. The apple presentation here https://developer.apple.com/videos/wwdc/2015/?id=804 (Bit of an overview here: http://codemotionapps.com/san-francisco-display-vs-text-compact-vs-normal-a-brief-review/) states that, by default, numbers are displayed proportionally. They do allow to switch to displaying them mono-spaced (at least in their...

## PyQt4: set a default font?

fonts,pyqt
I'm adjusting a GUI written in PyQt4, and I'd like to change every last bit of text that appears in it to a different font than what PyQt uses by default. I've been doing this by calling widget.setStyleSheet("font-family: DesiredFont;") on every widget with text in it. This is very cumbersome....

## How can I determine the escape sequence for characters in an icon font?

css,fonts
I am working with a theme which uses a custom built set of icons which are loaded as a font. If I download the font I can load it in my font manager and see all the icons, but how to determine which escape sequence to use in my css...

## Firefox Windows / Linux inconstancies

css,linux,firefox,fonts,font-face
My website has very different rendering in Firefox Windows / Firefox Linux (however, similar versions, default parameters for both). The reason seems to be that the font are rendered very differently. This: font-family: sans-serif; gives Arial-like font on Windows: and a little bit different font on Linux: How to solve...

## Currency symbol not formatting correctly in a textView?

android,fonts
In my app I have a message which can be customised by the user and then displayed in the app. If the user enters "£100" it is shown as "Â£100"? I tried to use a font which contains this symbol but it didn't fix my problem. Typeface font = Typeface.createFromAsset(getActivity().getAssets(),...

## Update the standard font style for the /ja-jp/ website to Microsoft's Meiryo font

javascript,html,css,fonts,sitecore
In my sitecore website there is some enhancement requested from client. They want me to update the standard font style for the /ja-jp/ website to Microsoft's Meiryo font. This includes updating all HTML-based stylesheets related to all templates and sublayouts. I have limited time so want to start with best...

css,fonts,icons

## Change default font of the app

android,fonts
I am working on an android project and I want to change default font for all the app, not just a single TextView or button. My custom font is stored as assets/fonts/font.ttf...

## Super Thin Arial Font CSS?

html,css,fonts,weight
I am working on the header of my website and I really like the look of the thin font used in the second part of the title here: http://tympanus.net/Development/AnimatedHeaderBackgrounds/ I downloaded the source and have been playing around with it. The title used Arial font (although it isn't defined) anywhere...

## Support for marathi font

android,fonts
In my application i want to use marathi font.I know how to use custom fonts in android.The problem is that when i use "Kruti Dev" it shows in android studio preview emulator even thought i have not set it.But if i try to use "Subak" font i am not getting...

ios,qt,fonts
I'm currently loading two fonts from a qrc file. One of them is .ttf and the other is .otf. When I test my build on Android, they load and work fine (although the loading time is fairly long..) However when I test it on my iPhone and/or simulator, none of...

## how to set different font sizes in the same html header?

html,css,fonts,font-size
I want to create an html header as follows "Version1: (10.3.4) vs Version2: (10.3.4)" and I want the version number be smaller than the words "Version1" and "Version2" how can I do this?...

## Use font awesome star rating define by width

html,css,fonts
Currently for reviews I use star rating that is displayed by css with background classes. But I want to replace this by Font Awesome because a font is much sharper on high res screens. The only problem is that the rating is defined dynamically by a width class in %....

## how to put a private use character in string with xamarin

c#,fonts,xamarin,monotouch,monodroid
I want to use some icons from the metro font (http://metroui.org.ua/font.html) on my Xamarin project, I can't find a solution to put a character in private use on my string, it's always replace by a square with a ? inside. If anyone know how I can put special character, it...

## How my computer knows a char corresponds to which character?

fonts,operating-system
Does my OS load a font file which maps the UTF-8 codes to characters(the way to render it ) when I start up my computer? Since there are a lot of different fonts, the font files will consume a lot of memory? Or the font files are stored in hard-disk...

## Best-practice - @font-face normal/bold/heavy

html,css,fonts
I've got a question considering the @font-face command to add custom fonts to a webpage via CSS. I've always used @font-face like this: @font-face { font-family: "MyFont"; src: url('url-to-font') [eot, woff, ttf, ...]; font-weight: normal; font-style: normal; } @font-face { font-family: "MyFont-Bold", [Fallbacks...]; src: url('url-to-font') [eot, woff, ttf, ...]; font-weight:...

## @font-face font working fine locally but when pushed to server it just shows up as a default HTML font

html,css,fonts
UPDATE: FIXED, SEE BELOW Turns out the server I had the font name as 'Close.otf' in my fonts folder and 'close.otf' in my code, I'm guessing my code worked fine locally because it isn't case sensitive, GitHub's server is though apparentely. Just fixed by changing the C from uppercase to...

css,fonts
I am using Google fonts on my webpage but notice about 5% of the time the Google font seems to timeout and display the fallback font. So I stopped using it and I tried using @font-face with the downloaded font files on the server but I would have to add...

## How can we link freetype library to Embedded Projects?

fonts,freetype,keil,coocox
I am a newbie to freetype and embedded system too. I want to use freetype functions in my embedded application (Details are given below). At first i tried the instructions given in "http://www.freetype.org/freetype2/docs/tutorial/step1.html". I could successfully complete a c project as in "example1.c" (given in freetype tutorial) in ubuntu, which...

## How to use font-face on a local server (xampp)?

css,fonts,xampp,font-face
I'm experimenting with custom fonts using font-face and a local font I have on my computer. I'm using XAMPP for local server and Dreamweaver as the IDE (not sure it matters, though I "managed" my fonts there and added the font I'm trying to use). Anyways, I keep getting the...

## i have used this code but it can't work in gujarati font

php,html5,fonts
I have used this code but it doesn't work. <meta http-equiv="Content-Type" content="text/php; charset=iso-8859-1"/> <meta http-equiv="Content-Type" content="text/php; charset=utf-8" /> ...