<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Font Replacement Table does not allow ligatureless fonts"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116522">116522</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Font Replacement Table does not allow ligatureless fonts
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.2.1 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Harry.dent@dvltech.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
While searching for a workaround for
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Incorrect characters in font DejaVu Sans when copying from PDF"
href="show_bug.cgi?id=116490">https://bugs.documentfoundation.org/show_bug.cgi?id=116490</a>, I found that it was
possible to prevent ligatures being added between characters by appending
`:-liga` to the name of the current font.
I now wish to define replacements in the Font Replacement Table (Tools >
Options > LibreOffice > Fonts) such that e.g. "SomeFont Sans" -> "SomeFont
Sans:-liga". This does not work - the font still contains ligatures after its
replacement is added to the table.
N.B. Replacing two normal fonts works e.g. "DejaVu Sans" -> "Verdana"
Steps to Reproduce:
1. Create a new document containing the word "final" in font "DejaVu Sans"
2. Select "final" and change the font to "DejaVu Sans:-liga"
3. Create a new document exactly like the first
4. Add "DejaVu Sans" -> "DejaVu Sans:-liga" to the Font Replacement Table
(Tools > Options > LibreOffice > Fonts)
Actual Results:
The "fi" in the first document contains a ligature, but not in the second
document
Expected Results:
The "fi" in both documents should not contain a ligature
Reproducible: Always
User Profile Reset: No
Additional Info:
For testing, other combinations of letters than contain ligatures include ft,
ff, tt, tf, ti, fj...
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>