Page 2 of 2

Posted: Mon Aug 04, 2008 9:08 am
by ghost zero
i just tried modifying...

[Browser]
TextBackColor=
TextColor=

but it doesnt change anything in the preview pane for text documents...

Posted: Mon Aug 04, 2008 9:19 am
by xnview
It's TxtForeColor & TxtBackColor!

Posted: Mon Aug 04, 2008 11:39 am
by ghost zero
works great, thanks!

BTW: is there a way to change font style and size for text preview?

Snag---

Posted: Mon Aug 04, 2008 4:36 pm
by Clo
:arrow: Pierre

:) Good evening,

• I tested just now as :
TxtForeColor=#8A1D18 —> Brown
TxtBackColor=255 255 213 —> Cream
That doesnt work as expected, the text is black and the BG is full red… :(
- Moreover, the font is still the crappy hard-coded MS Sans Serif, hence 29 upper ANSI characters are not supported
and shown as thick black “pipes” |

    Image

- Pierre, what about the Dina programming complete font I send you at least twice, free to use ?

ghost zero wrote
BTW: is there a way to change font style and size for text preview?
• Looking at the above, obviously, nope !
- But it could be a useful option, of course…

:mrgreen: KR
Claude
Clo

Posted: Mon Aug 04, 2008 9:04 pm
by ouistiti
:arrow: Pierre

- I can confirm the issue here, using the Clo's values but both as normal decimal code like :
TxtBackColor=255 255 213
TxtForeColor=138 29 24
- If I invert the foreground and background colours, I get the opposite of the Clo's image above, say :  Red text and black BG.
Moreover, the font is still the crappy hard-coded MS Sans Serif…
- Yes it is, unfortunately. I guess that the time has come to change that antiquity for a decent complete font,
as suggested n… times.

Friendly

Paul

Crappy coding

Posted: Mon Aug 04, 2008 10:02 pm
by Clo
:arrow: ouistiti

:) Hello Paul !

• It works with my values you calculated “by complements” like :
TxtBackColor=14024703
TxtForeColor=1580426
• This coding is a pain in the neck, and I don't understand why the others are not supported in the whole INI,
but only here and there, that's incoherent.
- Moreover, plain decimal code, HTML and reverse HTML are easier to set, especially for an option
added by hand in the INI, and needed by average users as well…
I guess that the time has come to change that antiquity for a decent complete font…
{ Sigh…} May God hear your prayer!
- Even if that needs to distribute Dina with the programme, it's not a big deal, and just D&D it on the
<…\Windows\Fonts> folder installs it automatically (with XP, a Hacker's trick, thanks Roman !).

:mrgreen: Friendly,
Claude
Clo