bugBattle for Wesnoth - Bugs: bug #13399, Missing hinting and wrong font in...

 
 
Show feedback again

bug #13399: Missing hinting and wrong font in Multiplayer window at main menu

Submitted by:  ancestral <ancestral>
Submitted on:  Mon 20 Apr 2009 05:36:05 AM UTC  
 
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: User Interface
Status: FixedPrivacy: Public
Assigned to: Guillaume Melquiond <silene>Open/Closed: Closed
Release: 1.4+Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 05 May 2009 06:36:20 PM UTC, comment #12:

That textbox uses the same routines, which silene fixed. So that part should also be fixed.

Mark de Wever <mordante>
Project Member
Mon 04 May 2009 08:13:09 PM UTC, comment #11:

One more place to check where it might not be loading the correct font is the story text box in the game, when there's narration or when a character speaks. I haven't been able to build from trunk yet (mostly due to time concerns) but I believe this is one more place where it is loading the system's default sans serif.

If someone would be willing to check that would be awesome. (The quickest way is to simply backup the DejaVuSans.ttf file and replace with a sans-serif (naming it "DejaVuSans.ttf") since the system default sans-serif may look very similar.)

ancestral <ancestral>
Sun 26 Apr 2009 09:31:15 AM UTC, comment #10:

Adding "Gentium" to the "family_order" field now properly loads the Gentium font from my wesnoth/fonts directory. Please reopen if it does not.

Guillaume Melquiond <silene>In charge of this item.
Sun 26 Apr 2009 08:38:28 AM UTC, SVN revision 35228:

Backport of revisions 35226 and 35227. (Bug #13399)
Fixed improper families passed to Pango.
Removed redundant unused file.

(Browse SVN revision 35228)

Guillaume Melquiond <silene>In charge of this item.
Sun 26 Apr 2009 08:12:22 AM UTC, SVN revision 35226:

Fixed improper families passed to Pango. (Bug #13399)

(Browse SVN revision 35226)

Guillaume Melquiond <silene>In charge of this item.
Sat 25 Apr 2009 08:33:57 PM UTC, SVN revision 35216:

Added changelog entry. (Bug #13399)

(Browse SVN revision 35216)

Guillaume Melquiond <silene>In charge of this item.
Sat 25 Apr 2009 08:32:42 PM UTC, SVN revision 35215:

Backport of revision 35214.
Enabled hinting for texts displayed by Pango/Cairo. (Bug #13399)

(Browse SVN revision 35215)

Guillaume Melquiond <silene>In charge of this item.
Sat 25 Apr 2009 08:28:41 PM UTC, comment #5:

Silene encountered a similar problem after updating to a newer pango version and he found a solution to his problem. Can you test whether r35214 in trunk fixes your problem?

Mark de Wever <mordante>
Project Member
Tue 21 Apr 2009 07:40:58 AM UTC, comment #4:

Those are all part of the new GUI so this behavior is likely expected.

Gunter Labes <soliton>
Project Member
Tue 21 Apr 2009 01:51:27 AM UTC, comment #3:

From the previous comment, "addons.png" simply shows the Windows version (top) and the Mac version (bottom). "multiplayer.png" simply shows the Windows version (top) and the Mac version (bottom).

I'm confident it's not platform-specific. (I have only personally visually verified this with Mac OS X and Windows versions of Wesnoth, however.)

ancestral <ancestral>
Tue 21 Apr 2009 01:47:41 AM UTC, comment #2:

Actually, it's:

• Entire multiplayer window, including buttons
• Entire addons window, including buttons
• Entire languages window, including buttons

"okcancel.png" shows 4 OK and cancel buttons:

The top two are from Windows Wesnoth 1.6.1.
The bottom two are from Mac OS X Wesnoth 1.6.1.

The ones on the left are from the "Campaign" window.
The ones on the right are from the "Multiplayer" window.

"gentium-example.png" shows how, if Deja Vu Sans is replaced with Gentium Basic Book, that the windows fonts look inconsistent (the addons window is layered on top of the campaign window simply for comparison and to conserve file space).

The ones on the left are the correct font, which I believe is Deja Vu Sans (from DEFAULT_FONT_SMALL in data/themes/default.cfg?) while the ones on the right are not the correct font, which I'm not sure where it's pulling it from, but I think it may be GUI_NORMAL__FONT_SIZE__SMALL from data/gui/default/macros/_initial.cfg. (If you notice the letters 'C' there is a difference between the left and right buttons.)

Why is this important?

As themes may be developed for Wesnoth, some windows will look very out of place. Although the sans-serif fonts are similar, they are still quite different, and some platforms will invariably draw them more differently than others.

See http://www.wesnoth.org/forum/viewtopic.php?f=6&t=25114 for related info.

(file #5659, file #5660, file #5661, file #5662)

ancestral <ancestral>
Mon 20 Apr 2009 08:04:17 AM UTC, comment #1:

Ehm, please retest in the latest stable version (1.6.x). Beside this the operating system does probably matter for this, so please list which one you are using. And also attach a screenshot showing the problem.

That is here on my Linux box everything really looks fine using 1.6.1. The font is the same, the fontsize is just a little bigger.

Nils Kneuper <ivanovic>
Project Administrator
Mon 20 Apr 2009 05:36:05 AM UTC, original submission:

At the main menu, when you click on "Multiplayer", it launches the login window. However, the font for the options in the list ("Join Official Server", "Connect to Server", etc.) and the "OK" and "Cancel" buttons are not the same as the game font (DejaVuSans).

If the game is themed (or the font replaced) it is very noticeable as the fonts are not the same.

ancestral <ancestral>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #5659:  addons.png added by ancestral (197kB - image/png)
file #5660:  multiplayer.png added by ancestral (198kB - image/png)
file #5661:  okcancel.png added by ancestral (26kB - image/png)
file #5662:  gentium-example.png added by ancestral (333kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by silene (Posted a comment)
  • -unavailable- added by silene
  • -unavailable- added by mordante (Posted a comment)
  • -unavailable- added by crab (Updated the item)
  • -unavailable- added by soliton (Posted a comment)
  • -unavailable- added by mordante
  • -unavailable- added by ivanovic (Posted a comment)
  • -unavailable- added by ancestral (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 25 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 May 2009 07:12:35 PM UTCesrOpen/ClosedOpen=>Closed
    Sun 26 Apr 2009 09:31:15 AM UTCsileneStatusReady For Test=>Fixed
      Assigned tomordante=>silene
      SummaryWrong font in Multiplayer window at main menu=>Missing hinting and wrong font in Multiplayer window at main menu
    Sat 25 Apr 2009 10:11:40 PM UTCsileneCarbon-Copy-=>Added silene
    Sat 25 Apr 2009 08:31:08 PM UTCmordanteStatusNone=>Ready For Test
    Sat 25 Apr 2009 08:30:18 PM UTCmordanteStatusNone=>Ready For Test
      Release1.4+=>1.6+
    Sat 25 Apr 2009 08:28:41 PM UTCmordanteRelease1.4+=>1.6+
    Tue 21 Apr 2009 10:55:34 AM UTCcrabRelease1.4+=>1.6
    Tue 21 Apr 2009 10:52:59 AM UTCcrabRelease1.4+=>1.4
    Tue 21 Apr 2009 10:52:17 AM UTCcrabRelease1.4+=>1.4
    Tue 21 Apr 2009 10:52:13 AM UTCcrabStatusIn Progress=>None
    Tue 21 Apr 2009 10:52:08 AM UTCcrabStatusNeed Info=>In Progress
    Tue 21 Apr 2009 10:51:46 AM UTCcrabRelease1.4+=>1.4
    Tue 21 Apr 2009 10:51:28 AM UTCcrabAssigned toivanovic=>mordante
    Tue 21 Apr 2009 10:51:20 AM UTCcrabAssigned toNone=>ivanovic
    Tue 21 Apr 2009 10:34:09 AM UTCivanovicStatusNeed Info=>None
      Assigned toNone=>mordante
      Release1.4+=>1.6+
    Tue 21 Apr 2009 07:40:58 AM UTCsolitonStatusNeed Info=>None
      Assigned toNone=>mordante
      Release1.4+=>1.6+
    Tue 21 Apr 2009 01:47:41 AM UTCancestralAttached File-=>Added addons.png, #5659
      Attached File-=>Added multiplayer.png, #5660
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup