Bug 270564
| Summary: | [Gtk/FreeBSD] Ligatures like 'fi' wrongly applied in <pre> and <tt> tags | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | vermaden |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, fantasai.bugs, vitor.roriz |
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | PC | ||
| OS: | Other | ||
vermaden
The WebKit web browser engine seems to have funny problem with properly displaying 'efi' word in <pre> and <tt> HTML tags.
Its just NEVER displayed in 'monospaced' or 'fixed-width' font.
Images:
https://mastodon.bsd.cafe/@vermaden/112047389165601493
Its on FreeBSD.
% uname -prism
FreeBSD 14.0-RELEASE-p5 amd64 amd64 GENERIC
% pkg info | grep -i '^webkit'
webkit2-gtk3-2.34.6_10 Opensource browser engine using the GTK 3 toolkit
How to fix that 'fi' or 'efi' strange rendering.
Thanks,
vermaden
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Can you try with WebKitGTK newer builds and also share minimal reporduction?
2.34.6 <- this is from 2022. (https://webkitgtk.org/releases/)
vermaden
Would like to but the FreeBSD port is currently at version I submitted the bug here.
In the mean time I submitted a BUG report on FreeBSD to update the port to some more up-to-date version.
Details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277526
Regards,
vermaden
vermaden
I overcome that with this in CSS for the time being:
pre, code, tt {
font-variant-ligatures: no-common-ligatures;
}
Regards,
vermaden
vermaden
Seems there is more serious attempt/work on the more recent WebKit version then my simple BUG report.
Details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
Regards,
vermaden