<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 - RTF import: wrong font for Hebrew text"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118902">118902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RTF import: wrong font for Hebrew text
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bibisectRequest, filter:rtf
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=143703" name="attach_143703" title="Wrong font for Hebrew text in RTF: minimal reproducer">attachment 143703</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=143703&action=edit" title="Wrong font for Hebrew text in RTF: minimal reproducer">[details]</a></span>
Wrong font for Hebrew text in RTF: minimal reproducer
In the attachment, the only defined font in the RTF is Times New Roman. It is
applied to all the text in the document, and Word shows all the text (both
Russian and Hebrew) using TNR. But when opened in LibreOffice, the Hebrew font
is shown using the font defined in Options→LibreOffice Writer→Basic Fonts
(CTL). Replacing \f1 in \pard with \loch\f1\hich\af1 fixes the problem, so
apparently LibreOffice does not treat \fN as setting font for all language
variants, just for Western languages, despite "Associated Character Properties"
chapter in [1] tells:
<span class="quote">> Although RTF defines a broad variety of associated character properties,
> any implementation may choose not to implement a particular associated
> character property and share the property between the Latin and Arabic
> fonts</span >
which implies that associated character properties are optional, and in the
absence of those, standard properties (like \fN) should be used for all
language variants.
Tested with Version: 6.1.0.2 (x64)
Build ID: b3972dcf1284967612d5ee04fea9d15bcf0cc106
CPU threads: 4; OS: Windows 10.0; UI render: default;
Locale: ru-RU (ru_RU); Calc: CL
Said to be OK in OOo and AOO; suspect regression.
[1] Rich Text Format (RTF) Specification Version 1.9.1
<a href="https://www.microsoft.com/en-us/download/details.aspx?id=10725">https://www.microsoft.com/en-us/download/details.aspx?id=10725</a></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>