Luucas Posted November 21, 2019 Share Posted November 21, 2019 Hey @maxmp is there any chance of support external Font files (eg .ttf .otf) Link to comment Share on other sites More sharing options...
flyingdutchman Posted November 22, 2019 Share Posted November 22, 2019 There is, i have implented a few fonts in my skin Link to comment Share on other sites More sharing options...
maxmp Posted November 22, 2019 Share Posted November 22, 2019 @Luucas yes, please check the sample skin, loadable font option is there: https://github.com/maxmpz/powerampapi/tree/master/poweramp_skin_sdk/poweramp_skin_sample/app/src/main/res/font Link to comment Share on other sites More sharing options...
Luucas Posted November 23, 2019 Author Share Posted November 23, 2019 On 11/22/2019 at 10:30 AM, maxmp said: @Luucas yes, please check the sample skin, loadable font option is there: https://github.com/maxmpz/powerampapi/tree/master/poweramp_skin_sdk/poweramp_skin_sample/app/src/main/res/font I say direct from Poweramp (eg: copying font.ttf to folder the app files) 😅 Link to comment Share on other sites More sharing options...
andrewilley Posted November 24, 2019 Share Posted November 24, 2019 It certainly would be nice to be able to select fonts (and perhaps size scaling too, as different fonts can display at different actual sizes) directly within the main app, so that it applies to the default or other skins. Andre Link to comment Share on other sites More sharing options...
flyingdutchman Posted November 24, 2019 Share Posted November 24, 2019 Yes, but then you need also be able to set font sizes for specific text fields. Track and artist/ album would be a different size to say audio metadata, track counters or button labels for example. I guess this is where skins come in. I have implemented a number of nice fonts with the ability to set font size for certain groups of text Link to comment Share on other sites More sharing options...
andrewilley Posted November 24, 2019 Share Posted November 24, 2019 28 minutes ago, flyingdutchman said: Yes, but then you need also be able to set font sizes for specific text fields. That was why I suggested a scaling value instead of a specific font size, so you could say (for example) that the chosen font should be displayed 15% smaller than normal across all text fields. Being able to set sizes individually across all text fields would be great of course, and is a quite commonly requested feature, but I suspect might involve more work in the settings interface, not to mention requiring more dynamic scaling of the text boxes too. Andre Link to comment Share on other sites More sharing options...
flyingdutchman Posted November 24, 2019 Share Posted November 24, 2019 @andrewilley, scaling does not quite work, my earlier skins were applying this technique. Scaled text fields did not line up properly eg centred text scaled up say 10% would not show as centred. Applying fonts resolves this. In any case as long as enough size options are made available, scaling is no longer needed. You still need to be able to set different text fields to different sizes. Link to comment Share on other sites More sharing options...
Luucas Posted November 24, 2019 Author Share Posted November 24, 2019 On 11/24/2019 at 5:27 AM, andrewilley said: It certainly would be nice to be able to select fonts (and perhaps size scaling too, as different fonts can display at different actual sizes) directly within the main app, so that it applies to the default or other skins. Andre I fully agree, I was just weighing in changing font, but your idea It got better. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.