You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the manual does not specify what form of \special (if any) is supported for colouring the output. This would likely include details of any colour stack system available, whether stroke and non-stroke colour are supported separately, etc.
The text was updated successfully, but these errors were encountered:
The current version 2.0 HINT file format does not support any color.
Color support is planed for future versions. Adding color support to the file format is not the difficult part. The design of primitives, that are flexible and can be integrated without too much effort into TeX and most importantly LaTeX is the challenging part.
Just reproducing the PDF primitives is an option, but possibly not the best.
Here is a proposal for discussion:
\HINTbackground
Changes the background of the enclosing box.
If no background color is given the box is transparent.
The page background can be specified in the page template.
If multiple background colors are specified in the same box the last one wins.
Nested boxes can have different background colors.
\HINTforeground
Changes the color of glyphs and rules.
The effect is limited to the enclosing hbox or paragraph.
The effect extends to sub-boxes or sub-paragraphs.
If no color is given the color black is used.
If multiple colors are specified within the same box or paragraph,
every color is used for all glyphs or rules following the color
specification up to the following color specification or the end of
the box or paragraph that contains the color specification.
Since the HINT file format is designed for displaying pages on a computer screen
the ARGB representation of colors should be sufficient, given either
as a device dependent 8 digit hexadecimal value like 0xFFA08030 or
as four device independent decimal numbers in the range 0.0 to 1.0 separated by spaces.
Currently the manual does not specify what form of
\special
(if any) is supported for colouring the output. This would likely include details of any colour stack system available, whether stroke and non-stroke colour are supported separately, etc.The text was updated successfully, but these errors were encountered: