Zx-WinWord 2.0 demo [0/5]

ZXNet echo conference «zx.spectrum»

From Evgeny Milun To All 3 October 1997


Hello Roman !

Wednesday October 01 1997 15:29, Roman Rakitin ─── Evgeny Milun:

RR> I would like to draw attention to one glitch :-( and ask some more questions about
RR> the layout of the .doc file.
Come on...

RR> First about the glitch!!!
RR> Imagine this situation:
RR> you are typing text and see that you need to write one paragraph (or more)
RR> in a different font. If the paragraph is on one page, then everything is OK,
RR> but if part of the paragraph is on another page, then this part
RR> └─────────────────────── ─────────────────┘
RR> will not be highlighted.
Hmm... This is not a glitch... and not even a feature... apparently I just forgot to write about
this in the help... :( Everything is correct - changing the color and font only affects
the current page. On the next page, both the font and attributes are initialized.

RR> In theory, all the text after changing the font and before
RR> end (or until the next font change) should be printed in one
RR> font.
Yeah. Everything is fine, if you look at the text from top to bottom (i.e. from beginning to end), then the first font and attribute of the next page are equal to the last font and
attribute (respectively) on the current one... But what if you scroll up?
What should we take for the “initial” in the _previous_ page? After all, the table
of the initial ones is stored?font/attribute for each page - no memory space. Yes, and adding just one line to the text will cause a whole chain of recalculations/
views... :(

RR> And regarding fonts, it would be nice to do so that
RR> the current font could be printed THICK, TILT, UNDERLINED
RR> like on IBM.
This is exactly next revision... That is, if nothing global happens, then it will be done...

RR> Now about the questions:
RR> 1. Explain in more detail about the use of the “default attribute”?
See just above, where I talked about the features of the font and attribute when moving to a new page... I understood which one sometimes there will be a problem? So what if it didn’t exist and the “default attribute” is used (and in version 2.1 there will most likely be a “default font”) If, for example, you want the text on every new page to _become green by default (i.e. it is uncolored). text, since you didn’t set the coloring), then... Got it? Try...
RR> 2. What are all the control codes used in the text?
Hmm... There are really only two “control” ones - font switching and attribute switching... True, there are a few more that are related to
Oberon's viewer (initially the editor was created precisely as a tool
for writing and designing textsfor Oberon), and have practically nothing to do with WinWord, it simply “bypasses” them:
#16 (+ 3 more bytes after it) - sprite management. Inserted at the end
of the page containing the sprite... Created by a special utility
"WinWord text -> Oberon text"
4 (+ 1 byte) and
2 (+ 1 byte) - I don’t remember exactly now... something with the introduction of full-
full-screen pictures into the text.
RR> 3.Where Are there (addresses) three tables of standard fonts?
On the 7th page with #D100. Three tables (fonts), each 2 KB. The table
has a slightly non-standard format. Not as usual "1st pixel line of the 1st
character, 2nd pixel line of the 1st, ..., 8th of the 1st, 1st of the 2nd, ...", but "1st
line of the 1st, 1st of the 2nd, 1st of the 3rd, ..., 1st of the 255th, 2nd 1st, 2nd 2nd,...",
in short, it’s very similar to the organization of screen memory...

RR> And yet, maybe we can somehow agree to send the full version of subj`a.
RR> Let’s say you send a password-protected subj and tell me the password by phone
RR> (long-distance at my expense). Distribution in your city is not
RR> will be (guaranteed) except for three copies from newspaper correspondents!!! Of course, you can send floppy disks by regular mail. If recording at 3.5" is possible, then
RR> this is better.
Catch in the echo... It will be easier... :)))

Good luck!Evgeny.

■ The night is shorter than the day... The day will kill me... The world of illusions burns down in it. (C) Aria.