0

I have a web page with a button, when button is clicked, am using window.print() to normally print content of my page. problem is that am using firago font with font-feature-settings: "case" 1; (it tranforms text to uppercase). generated pdf looks good, but when it is opened in adobe illustrator, it shows ???? this symbols. i had no idea what was the reason for that and finally I found that font-feature-settings: "case" 1; does something to the text that adobe illustrator can not see. is there a javascript function to do same as font-feature-settings: "case" 1; ? i was googling but could not find an aswer.

  • I'm not totally clear what environment you are working in, but have you looked at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase – A Haworth Jun 19 '23 at 13:13
  • I did. toUppercase is not working on some foreign writings like Georgian (example: ეს არის წინადადების მაგალითი). font-feature is making this text uppercase, but javascript function does not. – Y U K I M U R A Jun 19 '23 at 13:17
  • Ah, I hadn’t appreciated the problem. It appears to be one being discussed at least for Chrome 5 years ago. Is it still not resolved? https://bugs.chromium.org/p/chromium/issues/detail?id=865427 – A Haworth Jun 19 '23 at 16:47
  • no, its not unfortunately – Y U K I M U R A Jun 19 '23 at 18:50

0 Answers0