Download it now!
Bug 109389 - Editing problem Old Hungarian text
Summary: Editing problem Old Hungarian text
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: l10n-hu-Hung-HU
  Show dependency treegraph
 
Reported: 2017-07-26 17:46 UTC by Kovács Viktor
Modified: 2019-02-03 16:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
First character (109.58 KB, image/png)
2017-07-26 17:50 UTC, Kovács Viktor
Details
The "bless" (113.15 KB, image/png)
2017-07-26 17:51 UTC, Kovács Viktor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kovács Viktor 2017-07-26 17:46:22 UTC
When I begin typing Old Hungarian (or Hungarian Rovas) text, then the first character appear as a square, and when I do not stop type, square disappears, correct character appears. Why?
(I use ubuntu-based system, called Elementary OS)
Comment 1 Kovács Viktor 2017-07-26 17:50:16 UTC
Created attachment 134879 [details]
First character
Comment 2 Xisco Faulí 2017-07-26 17:51:09 UTC Comment hidden (obsolete)
Comment 3 Kovács Viktor 2017-07-26 17:51:56 UTC
Created attachment 134880 [details]
The "bless"
Comment 4 V Stuart Foote 2017-07-26 21:20:50 UTC
There is no font coverage of Old Hungarian (10c80:10cff) in DejaVu Sans, which you look to be getting as font fallback for Complex Text Language (CTL) entry. The square shown is the symbol for a codepoint without coverage in the displayed font.

Entry of Hungarian (Magyar) is treated as Western, while the Szekely-Hungarian Rovasin Unicode is Right-to-left, and is treated as CTL. Entering those code points then picks up the default font set for CTL. 

Would assume you'd prefer to use your Unicode_Maros_ext. Believe you simply need to set your Complex Text Layout (Tools -> Options -> Language Settings -> Languages) to None, default is probably Hindi.   And then use the Format -> Character dialog and set CTL to use your Unicode_Maros_ext font. 

That should allow you to enter Szekely-Hungarian Rovas script (10c80:10cff) glyphs in line with your other Magyar text.

Initial line entries should then pick up the glyphs as RTL and show the glyphs from the Unicode_Maros_ext font.

Does this resolve if you change the Characters dialog?
Comment 5 Kovács Viktor 2017-07-28 12:18:26 UTC
Yes, it works, but I couldn't understand, why I need set it in two dialog boxes.
Comment 6 V Stuart Foote 2017-07-28 16:07:31 UTC
(In reply to Kovács Viktor from comment #5)
> Yes, it works, but I couldn't understand, why I need set it in two dialog
> boxes.

Using Rovas, as Hungarian (Rovas-SH) as László has suggested, has not been implemented as a viable "locale" for the user interface. That is bug 103405 and for the time being using Rovas requires two steps:

1.) clear the default CTL language -> set 'None' (Tools -> Options -> Language Settings -> Languages for the Default Languages for Documents: Complex text layout droplist). If not cleared, the wrong font associated with the default will be applied.

2.) open a new document and edit the Default Style -> Font tab. For the CTL Font, the Language will be 'None' but the Font will need to be set. Use your 'Unicode_Maros_ext' or another font with coverage of the "Old Hungarian" Unicode block 10C80:10CFF.

With the Default paragraph style set to CTL with Rovas, each child style will inherit the CTL font setting. Or use the Character dialog and set it for each paragraph. Simpler to adjust the Default paragraph once per document.

For convenience you could save with the new defaults as an ODF template for reuse.

Unfortunately there is no way to set that into user profile until bug 103405 and related META bug 102854 are fully solved.