This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with textfont, boldfont


>If I update xconq from CVS and try
>
>    $ ~/work/xconq/x11/xconq -f ~/.xconq/tksave.xcq
>
>I get the following errors:
>
>    Error: can't read "textfont": no such variable
>    Error: while evaluating `create_map_window 1'
>    Error: can't read "map_widget(1)": no such variable
>    Error: while evaluating `update_mode 1 move'
>
>The enclosed patch makes things work for me again, although it is
>(sort of) a reversion of Hans's recent change so I don't know whether
>there is a better way.

This happens because you are bypassing the splash screen. I put the prefs
fonts there since I wanted them to be available during setup. However, your
patch is no solution either. I tried exactly that solution in my next to
last checkin, but changed things back today. Reason: even though the game
starts with no complaints, the font preferences are not read correctly.

What we need to do is read the font prefs twice, both in the splash screen
and in the map, in order to make things work both ways. I will check in a
fix later today. I'm still working on these font issues.

The real problem here, BTW, is differences between the platforms. 12 point
Helvetica under Windows is not at all the same thing as12 point Helvetica
on the Mac. Not to mention Linux. I'm trying to make the setup screens look
nice (or at least legible) on all three platforms.

Hans

Hans Ronne

hronne@pp.sbbs.se



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]