• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Google Fonts embed - additional subset

Community Beginner ,
Nov 03, 2016 Nov 03, 2016

Copy link to clipboard

Copied

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.

Views

985

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 05, 2016 Nov 05, 2016

Not supported in Animate currently, afaik.

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

Votes

Translate

Translate
Community Beginner ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 05, 2016 Nov 05, 2016

Copy link to clipboard

Copied

LATEST

Not supported in Animate currently, afaik.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines