Custom Fonts on Android - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Custom Fonts on Android (/showthread.php?tid=3487) |
Custom Fonts on Android - BrentW - 24.07.2021 Hopefully this hasn't already been covered. I have some custom fonts I wish show on an tablet. If the fonts are loaded on the shac/nac (clipsal version) will it host it to the browser or do the ttf files need to be loaded on the tablet for it load correctly? If the later is correct could it be setup up in CSS to import the font from google fonts etc? Brent RE: Custom Fonts on Android - Daniel - 26.07.2021 You can import web fonts under Vis. graphics. RE: Custom Fonts on Android - BrentW - 26.07.2021 Thanks for the reply Daniel, Sorry I probably should have been a little more detailed with my query. I have uploaded a font to the fonts tab under vis.graphics and on windows devices with the font installed on the machine the visualisation displays correctly. When I load the visualisation on an android machine the font is displayed as one of the google default fonts. (maybe times new roman??) I understand this and the limitations of the android platform with regard to custom fonts. What I am unsure of is how the custom font is used when displaying on the visualisation page. Does the Logic machine effectively host the font to the browser in a similar method as CSS font-face with the exception that the font is hosted locally, this would be the same as a custom font on a webpage where the font is hosted on the server the webpage runs on, or is it just a reference that can be used in the vis setup and tells the browser to look on the local machine for the font? I hope that makes sense. If the latter is the case could you suggest a CSS script to use the font-face to google fonts option based on an additional class? Regards, Brent |