Created attachment 142006 [details] example otf and character formating When using Opentype fonts, character formatting is interpreted as word boundaries. This refers to hard as well as soft formatting with character styles. I suspect that here the xml formatting marks are interpreted when rendering the font. In the example you can see the illustration with and without character formatting.
What does this mean in practice? I don't understand just by looking at your document. I remove all the other text besides the Krokodil and Torpfosten examples and I see LibreOffice say "8 words". Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the information.
Hi Buovjaga Many thanks for your response. (In reply to Buovjaga from comment #1) > What does this mean in practice? I don't understand just by looking at your > document. I remove all the other text besides the Krokodil and Torpfosten > examples and I see LibreOffice say "8 words". This is interesting, but it only means that LibreOffice itself correctly recognizes the word boundaries. In my case, it's about the implementation of Opentypefonts (OTF) and here the word boundaries are not recognized correctly. Formats are interpreted here as word boundaries and the letters are replaced incorrectly. Explanation to the example file. The two words Krokodil and Torpfosten should clarify this. Related to Krokodil In the first line without formatting, the letters are replaced correctly. The transitions from "o" to the following letters are correct. In the following three lines, individual letters are formatted (colored, bolded, with character styles). The transitions from "o" to the following letters are no longer correct. The same applies to the second word (Torpfosten). Here are the transitions of "r" and "o". Again, LO behaves as one would expect at a word boundary. Although the otf-font was embedded in the odt file, I add a PDF from the same file, if there are problems with the presentation. I know that many never notice this behavior. In the school context, however, the ability to mark parts within words is very important. > > Set to NEEDINFO. > Change back to UNCONFIRMED after you have provided the information. I hope I could clarify my request better.
Created attachment 142878 [details] pdf-file of example odt-file
See previous comment.
Indeed, it becomes more obvious when one has the actual font. With a fallback sans serif font it was impossible to understand. Can you point to some free font that shows this feature?
(In reply to Buovjaga from comment #5) > Indeed, it becomes more obvious when one has the actual font. With a > fallback sans serif font it was impossible to understand. > > Can you point to some free font that shows this feature? On the fast the demo font to the used font: http://www.will-software.com/demos.htm There on the download link "Schulschriften OpenType" Unfortunately, a Setup.exe. But it can also be unpacked with wine. Several fonts are installed. For testing, it is best to select "LA" or "SAS". I'm still looking for a free font. Real opentypefonts who use the substitutions are unfortunately rare.
(In reply to F. Tremmel from comment #6) > Several fonts are installed. For testing, it is best to select "LA" or "SAS". Can we upload LA to Bugzilla or is it illegal?
(In reply to Buovjaga from comment #7) > (In reply to F. Tremmel from comment #6) > > Several fonts are installed. For testing, it is best to select "LA" or "SAS". > > Can we upload LA to Bugzilla or is it illegal? I am not sure. For an upload to Bugzilla, I'm better looking for a free font.
Same underlying issue as bug 61444. Any text formatting causes a font change, which breaks any layout features across the change. *** This bug has been marked as a duplicate of bug 61444 ***