Version: (using KDE KDE 3.4.2) Installed from: Mandrake RPMs OS: Linux When converting text to Small Caps (via the CSS font-variant directive), Greek accented letters should be converted to the respective non-accented uppercase letters. The required conversions are the following (in Unicode): ά -> Α έ -> Ε ή -> Η ί -> Ι ΐ -> Ϊ ό -> Ο ύ -> Υ ΰ -> Ϋ ώ -> Ω Also diphthongs (two-vowel constructs) should be converted as follows, when the first vowel is accented: άι -> ΑΪ έι -> ΕΪ όι -> ΟΪ ύι -> ΥΪ άυ -> ΑΫ έυ -> ΕΫ ήυ -> ΗΫ όυ -> ΟΫ In the current implementation, this is not the case: Greek accented lowercase letters are merely converted to the respective (accented) uppercase letters.
Could you provide a short testcase so we can see if this still occurs in the latest version? Thanks
Created attachment 17663 [details] Test case
In the test case that I provide, I show the working of small-caps. It seems that the implementation uses some form of toUpper() or similar function, which does the naive work of converting each letter to the corresponding capital. Notice, however, that the letters ΐ and ΰ (iota/upsilon with tonos and diaeresis) do not get converted at all! What is required, for small caps, is a more clever conversion, according to the table provided in the bug report.
Do you still have this problem in kde 4?
Created attachment 32612 [details] Test case (with correction)
With Konqueror 4.2.1 there are new, unexpected problems with this issue. Please check my latest attachment (the original one contained a small mistake) with Konqueror and with, eg, Firefox. Some letters in Small Caps are not correct at all: ΐ becomes Ι', ΰ becomes Υ and ώ disappears! The old behaviour (the same as Firefox) was not satisfactory but somehow acceptable, the current one is totally unacceptable -- if I could, I would raise the severity of this bug!
Do you know, are these encoded via combining characters, perhaps (or should I reach for the hex editor)? I would guess the problem is that small-caps are synthesized per-character....
If I understand your question correctly, the answer is no: in Unicode there are separate characters for each combination of (greek) vowel and accent(s). Using KCharSelect and a font that covers Unicode reasonably completely (eg. DejaVu Sans) have a look at the "Coptic and Greek" and "Greek Extended" regions.
Well, there are multiple ways of encoding stuff in unicode; something like an accented alpha can be either a single code, or as a sequence of two: basic alpha, and the combining accent. But I looked at a hexdump in your testcase, and it does use a single code; so my initial hypothesis wasn't right, and I need to debug it further... Actually text-transform: capitalize has the same problem.
I don't know if the following link helps: http://www.tlg.uci.edu/~opoudjis/unicode/unicode_adscript.html Anyway, all the necessary conversions when going from lowercase to small caps (and to all uppercase as well) is given in my initial comment.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? Thank you for helping us make KDE software even better for everyone!
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!