<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>270564</bug_id>
          
          <creation_ts>2024-03-06 00:32:46 -0800</creation_ts>
          <short_desc>[Gtk/FreeBSD] Ligatures like &apos;fi&apos; wrongly applied in &lt;pre&gt; and &lt;tt&gt; tags</short_desc>
          <delta_ts>2024-03-06 13:15:44 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>WebKit Local Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vermaden</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>vitor.roriz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2019014</commentid>
    <comment_count>0</comment_count>
    <who name="">vermaden</who>
    <bug_when>2024-03-06 00:32:46 -0800</bug_when>
    <thetext>The WebKit web browser engine seems to have funny problem with properly displaying &apos;efi&apos; word in &lt;pre&gt; and &lt;tt&gt; HTML tags.

Its just NEVER displayed in &apos;monospaced&apos; or &apos;fixed-width&apos; 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 &apos;^webkit&apos;
    webkit2-gtk3-2.34.6_10         Opensource browser engine using the GTK 3 toolkit

How to fix that &apos;fi&apos; or &apos;efi&apos; strange rendering.

Thanks,
vermaden</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019031</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-06 02:34:40 -0800</bug_when>
    <thetext>Can you try with WebKitGTK newer builds and also share minimal reporduction?

2.34.6 &lt;- this is from 2022. (https://webkitgtk.org/releases/)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019032</commentid>
    <comment_count>2</comment_count>
    <who name="">vermaden</who>
    <bug_when>2024-03-06 03:09:07 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019061</commentid>
    <comment_count>3</comment_count>
    <who name="">vermaden</who>
    <bug_when>2024-03-06 07:54:54 -0800</bug_when>
    <thetext>I overcome that with this in CSS for the time being:

    pre, code, tt {
      font-variant-ligatures: no-common-ligatures;
    }

Regards,
vermaden</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019160</commentid>
    <comment_count>4</comment_count>
    <who name="">vermaden</who>
    <bug_when>2024-03-06 13:15:44 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>