Bug 2231336 - ArialMT is not replaced correctly
Summary: ArialMT is not replaced correctly
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: liberation-fonts
Version: 9.2
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jens Petersen
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-11 09:23 UTC by Christoph Karl
Modified: 2023-08-11 09:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165610 0 None None None 2023-08-11 09:23:54 UTC

Description Christoph Karl 2023-08-11 09:23:24 UTC
Description of problem:
Using ArialMT in LibreOffice documents gives bad output in PDF files.
The lines are printed too wide, which changes the line break and even the page breaks.


Version-Release number of selected component (if applicable):
liberation-sans-fonts-2.1.3-4.el9.noarch


How reproducible:
Always


Steps to Reproduce:
>fc-match arialmt
DejaVuSans.ttf: "DejaVu Sans" "Book"


Actual results:
>fc-match arialmt
DejaVuSans.ttf: "DejaVu Sans" "Book"

Expected results:
>fc-match arialmt
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"


Additional info:
This seems to be correct (at least) in RHEL 7:
>cat /etc/fonts/conf.d/59-liberation-sans.conf 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
         <!-- Microsoft -->
        <alias binding="same">
          <family>Arial</family>
            <accept>
              <family>Liberation Sans</family>
            </accept>
        </alias>
        <alias binding="same">
          <family>Liberation Sans</family>
            <default>
              <family>Arial</family>
            </default>
        </alias>
        <alias binding="same">
          <family>ArialMT</family>
            <accept>
              <family>Liberation Sans</family>
            </accept>
        </alias>
        <alias binding="same">
          <family>Liberation Sans</family>
            <default>
              <family>ArialMT</family>
            </default>
        </alias>

</fontconfig>


Note You need to log in before you can comment on or make changes to this bug.