Skip to main content
Marko Belic
Participating Frequently
November 3, 2016
Answered

Google Fonts embed - additional subset

  • November 3, 2016
  • 1 reply
  • 1193 views

I am using Animate CC 2015.2 Release (build 15.2.1.95):

When embedding Google Fonts everything is great, works on dynamic fields nicely.

Only problem is with specific subsets, namely latin-extended. I see no option to include additional subset in the Animate CC interface.

After export there is font-face definition in .html file's <style> block unicode-range which is probably responsible for exactly that.

When I tried to manually add Unicode ranges I require, nothing is changed: glyphs required are shown in different font.

Google Font in question is PT Sans Narrow and it supports glyphs in question.

Thank you for any pointers on this.

This topic has been closed for replies.
Correct answer UDESCO

Not supported in Animate currently, afaik.

You can use the Feature Request/Bug Report Form​  to make your feature requests.

1 reply

Marko Belic
Participating Frequently
November 4, 2016

Temporary solution I have found is to substitute this code in main html file:

<style>

@font-face {

  font-family: 'PT Sans Narrow';

  font-style: normal;

  font-weight: 400;

  src: local('PT Sans Narrow'), local('PTSans-Narrow'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4RdbPw3QSf9R-kE0EsQUn2A.woff) format('woff');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;

}</style>

with this:

<style>

@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=latin-ext');

</style>

It does the trick.

But the question remains: is it possible to do this from Animate CC itself?

UDESCO
UDESCOCorrect answer
Participating Frequently
November 5, 2016

Not supported in Animate currently, afaik.

You can use the Feature Request/Bug Report Form​  to make your feature requests.