To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=56023
------- Additional comments from [EMAIL PROTECTED] Wed Oct 19 07:48:34 -0700 2005 ------- A summary of our Linkletter program: 1. In a word processor, select our font and type the text. 2. Copy or cut the text to the clipboard. 3. Run LinkLetter. 4. Paste the linked text back into the document. The fonts use character positions between 128 and 255 for "stripped" letters and the connections between the stripped letters. LinkLetter scans all the text looking for our font, strips each letter, puts in the connections between each letter, and puts the result back on the clipboard. In more detail: 1. Linkletter does a "pre-scan" of the rtf, looking for the \fonttbl "key". Within the fonttbl key, it makes sure that AB CUrsive is used in the document. If not, it's done. 2. Now it scans through the rtf, looking at each control character until it finds a \fnnn, where nnn is the font number of one of the AB Cursive fonts found in the \fonttbl. 3. It then extracts each character in \fnnn sequence, and calls the link subroutine. 4. The link subroutine has a table for each "normal" character in the font, where normal are the ones that are typed on the keyboard. Each character has a corresponding "stripped" character, which is the shape of the letter without any of the beginning or ending strokes. These stripped letters are in character positions 128 through 255 in the font. Also in 128 through 255 are the connections between the letters. And the link routine can relink text because it recognizes the stripped characters. 5. The link routine strips the character to its basic shape, and looks at the character preceeding this one in the output rtf. It determines which connector to use to properly join the two letters. Sometimes, this invloves replacing a preceeding character in the output rtf. 6. The main routine repeats this same processing for each AB Cursive character it finds. Do a test with text like "above and about" using AB Cursive, using the save/reopen method that results in correctly linked text. Change all of the linked text to another font, such as Times New Roman. Looks like Greek, right? What you are seeing are the stripped letters and the connections between them. Regarding unicode, we look for the syntax \unnnn. We developed a table that shows the corresponding character in the 128-255 range, drop the unicode and the hex equivalent if that is in the input rtf, and substitute the 128-255 character. So far, we've only seen unicode in Microsoft Word 2004 on the Mac and OO. And we've only seen it when you link the text a second time. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
