1

I find it's hard to follow Android WebView documentation. For example, what is the difference between setMinimumLogicalFontSize and setMinimumFontSize?

According to documentation:

setMinimumLogicalFontSize: Sets the minimum logical font size. The default is 8.

setMinimumFontSize: Sets the minimum font size. The default is 8.

Basically, it tells nothing, and I have no idea what is font size and what is logical font size.

Can anyone explain the meaning?

1 Answer 1

2

I found the explanation not for android, but for iOS. I think it's the same thing:

The minimum logical font size is the smallest font size that will display in a web view when the content’s font size is imprecisely specified. This includes content with logical sizes (such as small) or with a font size specified as a percentage of the default.

and

minimumFontSize

This sets the minimum display font size for the web view, overriding all content-specified styles, including explicitly specified font sizes.

minimumLogicalFontSize and minimumFontSize

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.