https://bugs.documentfoundation.org/show_bug.cgi?id=126256
Bug ID: 126256
Summary: FORMATTING, FILEOPEN: Plain text document in (codepage
437) with commercial font displays incorrectly
Product: LibreOffice
Version: 6.2.5.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: rob...@prino.org
Created attachment 152605
--> https://bugs.documentfoundation.org/attachment.cgi?id=152605&action=edit
Original input file - extension is .h-c, file is plain CP437 text
The attached document is generated in the original IBM codepage 437 font. When
opening the document with Word XP (Word 2002 10.6866.6870) SP3, a "freebie"
that came with my PC, Word has the decency of asking me if I want the document
to be converted, suggesting "Encoded Text", and by selecting "MS-DOS", it opens
without problems.
Changing the formatting, to use margins of 1 cm and use landscape mode,
followed by setting the font to 6pt neatly display the document, defaulting the
font to Courier New.
Changing the font to "Cubiculum"
https://www.myfonts.com/fonts/johan-winge/cubiculum/ still displays the
document, the formatting remains OK, although the box-characters of this font
don't seem to have long enough ascenders and descenders to connect the vertical
lines.
Now open the document in Writer (Version 6.5.25)...
Writer does not ask if the document might be in a non Windows/UTF-8/etc
encoding, it just opens it, and that results into replacement of the
box-characters by all kinds of accented characters.
To open the file, one has to use Ctrl-O, select "Text - Choose Encoding
(*.txt)", which, sigh, has also no option to actually show all files, type in
"mnth.h-c", click Open. On the next dialogue the "Character Set" has to be set
to "Western Europe (DOS/OS2-437/US), the "Default fonts" to "Courier New", and,
probably irrelevant here, but "Language" to "English (UK)", with "Raragraph
break" "CR & LF".
Clicking OK opens the document, and going to the same motions, setting the
margins to 1cm, selecting Landscape, and reducing the font size to 6pt delivers
a nicely looking document, with one hell of an annoyance, changing the font
size after a "Select All" scrolls the document to page 9.
However, a next Ctrl-A "Select All", followed by changing the font to
"Cubiculum" completely destroys the formatting and I have no clue as to what
happens with the font, the also attached PDF tells me that the document
contains no less than four fonts...
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs