-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-Latin and non-Cryillic text is broken. #966
Comments
Arabic also |
Same problem here for Japanese text as shown above. |
Simplified and Traditional Chinese is broken too |
yes, it's my fault. i didn't think about those characters. could you give me some sites to check? |
https://f-droid.org/ |
OK, thanks, I will do a partial revert. |
Same here |
Can not install old version(install will failure), and can not read any non Latin pages. this is disaster. |
@calvin2021y I can install older versions with MT Manager, which uses Shizuku to downgrade (you will have to remove MT M. from the recents or even force stop it in order to start using Shizuku for the installation, else it won't be able to downgrade), other packages retain their data, so in theory Cromite should too, you can also try InstallWithOptions, InstallerX, manually using the -d & -r params or just wait for an update, which shouldn't take long. |
Cromite 123.0.6312.105 from F-Droid on Android 8.1.0, ARMv7 build. The situation here is even worse: apparently as soon as the browser needs to render one of the missing glyphs, the whole page crashes I can reproduce this trivially: if I paste a Chinese character in this (or any website) textbox, the page crashes; same e.g. if I open the "other languages" menu on Wikipedia, or visit any site containing Chinese glyphs. |
I study Japanese and visit pages that use it. I don't mean to pressure but Cromite is unusable for me now, unfortunately. |
thank you all for the various reports. you can deactivate the feature with |
At least for my problem, the workaround doesn't seem to work, probably the crash comes from something that isn't disabled by the flag. |
adb install -r -d arm64_ChromePublic.apk
Performing Streamed Install
adb: failed to install arm64_ChromePublic.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 631208604 is older than current 631210504] not work for me |
|
thank you |
It did work for me. I disabled the flag, relaunched and then erased the cache. After that I started to get Japanese text displayed correctly again. Thank you! |
Search doesn't seem to work for Cromite flags, you have to go explicitly in the "Cromite" tab and look for it. |
I tried making my own build of Cromite without the font patches and, while it did succeed (in 7 hours of compilation, wow), I still can't install it over my current Android installation, as the signature doesn't match; I guess that's because the official releases use a specific certificate that is not available in the public repo? Any way I can workaround this/produce an official build without those patches? |
@nordicw0lf I had the same problem. You need to select Cromite tab (on the right) and the setting is in there. Workaround works for me. |
That's the point of these certificates... only the original owner/creator with the private keys can publish a new official version. You can make your own set of keys and sign the apk with them... then you can uninstall their chromite apk, and install your own. As for release, you should make a pull request and ask the project owner to integrate it and make a build. |
Uninstall the original apk and then try again |
Because of obvious similarities, I'd like to also test this workaround against #971 which is different in that there, even Screenshot 1
Apparently, this shows many flags. Let's search for the string 'font': Screenshot 2
The shape of those placeholder lines suggests there's only one search result, and according to the same search conducted in an unaffected cromium instance (same v123.0.6312.105 on another device), that one search result is Details
EDIT:
Sigh, I should have read all previous comments before commenting. However, in the 'cromite' tab of Alas, without 'cromite' flag search, it's very difficult to identify that flag in the affected instance. |
@calvin2021y Keep in mind that there's always a risk to lose the app's data when downgrading, so don't keep me responsible if that happens. |
I've managed to identify and disable |
Yep, I was just wondering if there was some way for me to explicitly override the check when installing, but apparently there is not (unless with root probably).
I hoped to avoid that to avoid losing my data (which isn't all that much, but still is a nuisance for bookmarks, home screen, some logins, etc); ultimately I tried to make a custom build to avoid having to do that to downgrade.
@uazo would that be accepted? The current state of affairs is very sad, the workaround doesn't work and the browser is borderline unusable (a renderer process crash whenever a "strange" character should appear is a huge problem). |
I have only now better understood the issue. The identifiability of emojii is only a subset of the larger problem that is related to the handling of fallback fonts in android. Thank you all for letting me know (OK, at the cost of a huge bug :) |
I know you have solved it, but In case anyone discovered this issue as late as I am, you can actually head to Given that uazo already dropped the patch in recent commits, I don't whether the following would add any value but just post here. For me the symptom is a bit weirder. CJK characters still appear normally as long as they are not inside the |
thank you all for checking. I think I will proceed in this way:
if it works, all cromite will use the same set of fonts and I will probably also be able to drop the |
It doesn't work properly for Tamil, Kannada and Hindi too. EDIT: It works now. Thanks @uazo for the quick response. |
please use the latest version released today. it cannot not work, that patch has been removed. |
@uazo |
I switched it back to default after upgrading and haven't noticed any untoward effects. |
yes, you can reactivate it, although in android, in the light of what I have learned (now), it does basically nothing. |
Also broken on Windows build. |
Preliminary checklist
Can the bug be reproduced with corresponding Chromium version?
No
Are you sure?
No
Cromite version
123.0.6312.105
Device architecture
arm64-v8a
Platform version
Android 14
Android Device model
Pixel 6a
Is the device rooted?
No
Changed flags
no flags changed
Is this bug happening in an incognito tab?
No
Is this bug caused by the adblocker?
No
Is this bug a crash?
No.
Describe the bug
Any non-Latin or non-Cryillic text us rendered as thin crossed boxes, likely caused by the embedded fonts in #935 not supporting it.
Steps to reproduce the bug
Demonstrated easiest by using any site that uses CJK text like
jisho.org
.Expected behavior
Text should display appropriate scripts as normal.
Screenshots
Details
The text was updated successfully, but these errors were encountered: