0 Replies Latest reply on Jun 28, 2015 2:16 AM by boom-shanka

    Using Typekit with HTML Export

    boom-shanka Level 1

      I'm exporting documents to HTML via script using ExportFormat.HTML.

       

      The generated CSS (idGeneratedStyles.css) references Typekit fonts differently to how they are referenced within Typekit.

       

      eg. in the CSS they are font-family:"Futura PT Book" ... while in my Typekit kit i have to reference it as  font-family: "futura-pt";

       

      Is there a way to automate a css edit so my font-familys match & actually work?

       

      I'm not sure why has Adobe done this... wouldn't it be more logical to reference them exactly the same; i have many documents to build from script & it seems i'm going to have add a CSS override file with a manual font selection with each document so that the fonts actually render in my HTML.