cmathiaz Posted May 24, 2022 Share Posted May 24, 2022 Entering Tamil or Indic Unicode font text in Affinity apps has been a problem for a very long time. This simple Python script allows you to enter certain Unicode-based open-type .ttf Tamil font text data. It uses the fact that you can enter some of the open-type glyphs using the Glyph Browser in Affinity! Note: not all open-type or pure Unicode fonts will work with this program! Certain types of Unicode-based open-type Tamil fonts like Vijaya, Akshra, all TAU-encoded fonts and many more work fine. If the Tamil .ttf font file contains all the character glyphs, and they are also indexed in the GSUB table, this program will work. At present, this is program is hard-coded only for Tamil. It may work for other open-type Indic fonts, if you modify certain sections and give the correct Unicode data like the range, pre-appending, post-appending char lists etc. Note that the converted data is not a font file, but a string of glyphs that can be displayed correctly inside Affinity. You will have to fully reformat the text after the copy-paste. Also, you can’t change the font family of the pasted glyph text. It has to be converted again and pasted for the new font. But you can change the font size of the glyph, and do some minor editing using the Glyph Browser, etc. For more details, see the comments in the program. See the first sample screenshot that shows the Tamil text using the open-type vijaya.ttf font. See the second screenshot that shows the conversion of Unicode Tamil data to a string of glyph data. This glyph string data can be pasted inside Affinity apps and toggled to Unicode. This works only for certain .ttf fonts mentioned above. Check this simple Python TKopentypeTamil1 script on my cmathiaz Github page. Good luck. https://github.com/Cmathiaz?tab=repositories Rajavanya 1 Quote Link to comment Share on other sites More sharing options...
Staff NathanC Posted May 25, 2022 Staff Share Posted May 25, 2022 Hi @cmathiaz, I've moved this thread over to Resources as Share your work is more intended for sharing user created artwork 🙂 Quote Link to comment Share on other sites More sharing options...
cmathiaz Posted May 25, 2022 Author Share Posted May 25, 2022 Thanks. I wasn't sure where this topic should go. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.