
Supporto al greco antico
per LibreOffice/OpenOffice
Versione: 1.6-beta8
WinGreek font detection
Since WinGreek conversion depends entirely on the font used (or will be used), AncientGreek implementation has to take it into account too. So, when a WinGreek conversion starts, the document (or selection) is parsed character by character and fonts found are encountered for. Possible results are to find:
- Greek font only
- This means that either a 1993 or a 2000 font edition based conversion can be performed. If the preferred font edition has already been set (WinGreek configuration), then it will be used. Otherwise, the font selection window will be displayed so that the user can choose the font to be used.
- GreekWG font only
- A GreekWG font based conversion will be performed.
- WinGreek and non-WinGreek font
- The user will be asked whether the conversion should continue or not, using the following dialog.
- If the answer is positive, the font selection dialog will be presented to the user. The font proposed will be:
- "Greek font (ed. 1993)", if the font found is "Greek" and the font's edition is set to 1993 (WinGreek configuration).
- "Greek font (ed. 2000)", if the font found is "Greek" and the font's edition is set to 2000 (WinGreek configuration).
- "Greek font (ed. 2000)", if the font found is "Greek" and the font's edition is not set (WinGreek configuration).
- "GreekWG font", if the font found is "GreekWG".
- Both Greek and GreekWG fonts
- AncientGreek will not perform any conversion in this case. It will just display the following message and stop.
- No WinGreek fonts
- AncientGreek will display the font selection dialog so that the user can choose the font to be used.
The WinGreek font detection dialog ^
The font selection dialog on Windows 10
The "font selection dialog" will be displayed:
- When the WinGreek configuration option "Font selection always permitted" is set (checked).
- When the the WinGreek configuration has not been performed.
- This means that AncientGreek does not know what kind of conversion to execute (actually what font the conversion will be based on).
- When both WinGreek and non-WinGreek characters are found in the text.
Suggested font ^
The "font selection dialog" will always suggest a font to use for the conversion. The color of the suggested font will be:
Blue: A default value is suggested. This may mean that the WinGreek configuration has not been performed.
Red: The font suggested has been found in the text in question (document or selection). If non-WinGreek font(s) exist also, the conversion may result in a corrupt output.
If AncientGreek suggests a font which might lead to corrupt conversion results, or a default arbitrary font is suggested, and the "Save file before conversion" general option has not been set, the dialog will include and enable this option, as shown in the image above.
Defaults indication ^
If the WinGreek configuration has already been performed, default fonts will be indicated as follows:
- Greek font selection will be in bold characters.
- WinGreek font selection will be in underlined characters.