MathewWi / sdl-wii

Automatically exported from code.google.com/p/sdl-wii
0 stars 0 forks source link

Font redering #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
libogc 1.8.11 libpng 1.5.1 jpeg 8d

Please provide any additional information below.

The last rev 100 seems not work with the font rendering.

It works reverting to (and changing to TVPal576IntDfScale):

switch (vmode->viTVMode >> 2)
    {
        case VI_PAL: // 576 lines (PAL 50hz)
            // display should be centered vertically (borders)
            vmode = &TVPal576IntDfScale;
            vmode->xfbHeight = 480;
            vmode->viYOrigin = (VI_MAX_HEIGHT_PAL - 480)/2;
            vmode->viHeight = 480;
            break;
...

Original issue reported on code.google.com by olimpier...@gmail.com on 11 Aug 2012 at 12:37

GoogleCodeExporter commented 9 years ago
I meant in 576i mode. 480p works fine

Original comment by olimpier...@gmail.com on 11 Aug 2012 at 12:51

GoogleCodeExporter commented 9 years ago
As an alternative (maybe this is a better solution to respect the aspect ratio )

it is possible to change 

mode_640.h = vmode->xfbHeight;
into
mode_640.h = vmode->efbHeight;

In WII_VideoInit

Original comment by olimpier...@gmail.com on 11 Aug 2012 at 1:41

GoogleCodeExporter commented 9 years ago
ok, I've changed it to mode_640.h = vmode->efbHeight;

Original comment by dborth@gmail.com on 12 Aug 2012 at 6:43