I can’t tell you anything about ZMPP–maybe it doesn’t support all of the stylehints. You’ll probably want to go straight to the author about that.
Regarding special-style-1 and special-style-2, the idea isn’t that you would define them and then apply them to the whole text, it’s that you would redefine the built-in styles (bold, header, italics, etc.) See the code below for a working example.
Oddly, though, Glulx Text Effects actually doesn’t allow you to change the normal style–i.e., most of the text you read. I have no idea why that was left out, but I will try to include it for the next release of I7 (also left out are the background color and reversed-out stylehints–I assume these were left out to keep the table from getting too wide, but they really should also be included for completeness as well. Heck, I may even add support for changing styles in the status bar).
Anyway, for now, I’ve attached a new version of GTE that allows you to change the look of normal text. If you use this, the following code will work and do what you want. (Don’t forget to hack your copy of Flexible Windows to include “Glulx Text Effects - New” instead of plain “Glulx Text Effects”.)
[code]Include Glulx Text Effects - New by Emily Short.
Include Flexible Windows by Jon Ingold.
Table of User Styles (continued)
style name justification obliquity indentation first-line indentation boldness fixed width relative size glulx color
normal-style – -- – -- – fixed-width-font – g-lime
header-style – -- – -- bold-weight fixed-width-font – g-lime
bold-style – -- – -- bold-weight fixed-width-font – g-lime
input-style – -- – -- bold-weight fixed-width-font – g-lime
The back-colour of the main-window is g-black.
When play begins:
say “You are in a castle’s ward with 4 other people.”
There is a Room.[/code]
You’ll need to keep adding built-in styles to the table if you decide to use them–italic, for example, is not included here.
–Erik
Glulx Text Effects - New.txt (14.2 KB)