Bug Hunting Session
Bug 123527 - Insert / special Character not correctly rebuilding font chart to match selected font and search string
Summary: Insert / special Character not correctly rebuilding font chart to match selec...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Special-Character
  Show dependency treegraph
 
Reported: 2019-02-17 16:00 UTC by Luuk
Modified: 2019-02-19 07:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luuk 2019-02-17 16:00:24 UTC
For some reason the order of input is affection the output of the display.

My default setting is font 'Liberation Serif'

[OPTION A]
If I check
- Insert/Special Character
- Type in field 'search': question
- Select font 'Marlett'
After this I do see 3 options.

[OPTION B]
If I check
- Insert/Special Character
- Select font 'Marlett'
- Type in field 'search': question
After this I do see 0 options.


This does not seem to be correct.

Other question to this subject:
- What kind of character am I inserting when following Option-A? The appearance of the question mark changes after the font is being changed!
Comment 1 V Stuart Foote 2019-02-17 19:18:19 UTC
Less an issue with the order in GUI, and more to do with a symbol font like Marlett. Symbol fonts receive the SYMBOL_CHARSET mapping of their PUA onto the lower 254 characters of ASCII 

A symbol font like Marlett will rarely if ever have its PUA mapped onto the Unicode system codepoint names, meaning the Search function in our Special Symbol dialog will find nothing.

But, there is a LibreOffice issue in populating the character map. When the font does not have coverage of UCS name string (i.e. no matching glyphs in the font) the chart should show nothing. Instead it is receiving some weird hybrid chart.

For example...search for "combi" for alll COMBINING form UCS, and select U+338 for "COMBINING LONG SOLIDUS OVERLAY".

Change from from default Liberation Serif to Liberation Sans Narrow (that has no coverage of U+338). We get the correct glyph preview with a "Missing character" label. But we also get an incorrect chart of glyphs--there are no combining characters in Liberation Sans Narrow, so the chart *should* be empty.

And in another glitch, again selecting Liberation Serif font from the drop list, will show the correct glyph from the font--but the font chart is *empty*. As if the chart is not being recalculated on font change.
Comment 2 Luuk 2019-02-19 07:49:58 UTC
Thanks for the explanation, and rephrasing, of this problem. 
Hopefully someone can correct this.