flyer1 commented on issue #949: URL: https://github.com/apache/cordova-ios/issues/949#issuecomment-907290345
For Capacitor v3 you can use the @capacitor/text-zoom plug in. getPreferred() will return the text size adjustment in a percentage (1=default size; the user can reduce it or go all the way up to 3.3). You then call set() on the plugin to apply this setting to the web control that hosts the ionic app. The plugin adds a -webkit-text-size-adjust property to the body element in the DOM. This property is only support on mobile (desktop ignores) and affects how text is rendered. Using this method allows you to use custom fonts (in case this is important for branding, etc) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
