plateaukao / einkbro

A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
Other
1.13k stars 80 forks source link

Custom font not applied on some website #257

Closed tcchuin closed 1 year ago

tcchuin commented 1 year ago

Please write necessary information as described below. If information is not enough, I may not have time to look into it.

What device and app version are you using

Describe the bug A clear and concise description of what the bug is.

Custom font is not applied on some website, defaulting to system font.

To Reproduce Steps to reproduce the behavior.

Example description:

  1. Go to Twitter.com
  2. Click on setting
  3. Change font to 3rd party font
  4. System font is being used (I.e. website font cannot be changed unless the device allows changing of system font)

Expected behavior The third party font is applied

Screenshots

Additional context Add any other context about the problem here.

plateaukao commented 1 year ago

Hi @tcchuin Thank you for reporting this issue. I am aware of this issue, however I don't know how to resolve it. This is due to specific way of setting fonts in some websites. :) If one day I found out a solution, I will fix it as soon as possible.

plateaukao commented 1 year ago

@tcchuin This commit might help font changing more often succeeds. https://github.com/plateaukao/einkbro/commit/8503cf50f1ce339ef40224ce6c10b8c57589da19

CR0CKER commented 1 year ago

I'd love to see this fixed also.