Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What glyphs or character sets are included in Roboto fonts?

I would like to use some not-so-common diacritics and maybe some fancy Unicode characters in my Android app, but I could not find a charmap for Roboto.

What glyphs or character sets are included in Roboto Regular, Bold and Condensed fonts?

like image 866
Gabriel R. Avatar asked Apr 18 '14 08:04

Gabriel R.


People also ask

What is Roboto font style?

Roboto Font is a sans-serif typeface that came into being as a System font. Christian Robertson, an interface designer, designed this font that was later released in 2011, the same year when it was created. Google developed this font for the Andriod operating system and later delivered it for Andriod 4.0.

How many glyphs are in a font?

No single "Unicode font" includes all the characters defined in the present revision of ISO 10646 (Unicode) standard, as more and more languages and characters are continually added to it, and common font formats cannot contain more than 65,535 glyphs (about half the number of characters encoded in Unicode).

What is Roboto font in Word?

The Roboto font is a sans-serif typeface created by Google. It is elegant and renders well on high-resolution screens such as Android phones. As such, it's a perfect fit for many applications. What's more, installing the Roboto font on Windows, macOS, and Linux is a piece of cake.


Video Answer


2 Answers

After a bit more searching, I've found this reference on the Google API's site

http://commondatastorage.googleapis.com/androiddevelopers/design/Roboto_Specimen_Book_20131031.pdf

The updated reference for the latest version of the font files is here https://github.com/google/roboto/blob/master/res/glyphlist.txt
Note that this may be more recent than the version on your Android IDE or OS!

like image 183
Gabriel R. Avatar answered Sep 21 '22 08:09

Gabriel R.


Warning: although the answer below was helpful to many people, and I will leave it up as such, it might trick you a bit, because default browser behavior is to use fallback fonts for missing characters and so you might see glyphs from other fonts in the snippet below.


Ended up hacking this script together for a quick and dirty overview:

var content = "";
var max = 65535; // See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCharCode
for (var i = 34; i < max; i++) {
  if (i % 1000 === 0) { content += '<hr>'; }
  content += "<div title='"+i+"'>" + String.fromCharCode(i) + "</div>";
}
document.body.innerHTML = content;
@import url(https://fonts.googleapis.com/css?family=Roboto);
body { font-family: 'Roboto'; font-size: 18px; padding: 5px; }
div { display: inline-block; background: #ddd; color: #111; margin: 4px; width: 1.5em; height: 1.5em; text-align: center; padding: 0.2em 0 0 0; box-sizing: border-box; }
div:hover { cursor: pointer; background: #ccc; }
like image 25
Jeroen Avatar answered Sep 21 '22 08:09

Jeroen