Hi Klaus, I remember dabbling with this a long time ago and I think it was kind of: - Find the offset for the name table in the file - Find the postscript name in that table. Was often (always?) saved under ID 6 (or was it 5?)
But this is just from the top of my head. I’m pretty sure I have some old somewhere but it’s traveling now, but can dig it out in a few days when I get back home if needed. :-Håkan Skickat från min iPhone > 25 juli 2025 kl. 11:53 skrev Klaus major-k via use-livecode > <use-livecode@lists.runrev.com>: > > Hi Matthias, > >> Am 25.07.2025 um 11:39 schrieb Matthias Rebbe via use-livecode >> <use-livecode@lists.runrev.com>: >> >> There are tools available, which allow to view and change the properties of >> a font. With such a tool, you could read out the postscript. > > I see, thanks, but was hoping to be able to do this with LC somehow. > >> If you like, you can send me the font file and check it for you. > > Great, thank you very much, will do! :-) > >> Matthias >> Von meinem iPhone gesendet >> >>>> Am 25.07.2025 um 11:32 schrieb Klaus major-k via use-livecode >>>> <use-livecode@lists.runrev.com>: >>> >>> No brilliant ideas? >>> >>>> Am 23.07.2025 um 16:35 schrieb Klaus major-k via use-livecode >>>> <use-livecode@lists.runrev.com>: >>>> >>>> Hi friends, >>>> >>>> I have a custom TTF font that I will include in my mobile app. >>>> Now read this warning in the LC lesson: >>>> ----------------------------------------- >>>> Android and Font Names >>>> >>>> There is a currently an issue where only the PostScript name of a font >>>> works on Android. >>>> Controls where the font has been set in the Property Inspector might need >>>> to have their font >>>> set to the PostScript name in code for the font to show as expected on >>>> Android. >>>> ----------------------------------------- >>>> Now how can I find out the "PostScript name" of that font for the Android >>>> version of my app? >>>> Thanks for any hint! > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode