kthakore / frozen-bubble

Making frozen bubble cross platform
http://frozen-bubble.org
GNU General Public License v2.0
149 stars 33 forks source link

pango rendering half broken #46

Closed kthakore closed 13 years ago

kthakore commented 13 years ago

the text rendering is not correct. compare side by side:

http://zarb.org/~gc/t/pango-rendering-fb-2.2.0.png / http://zarb.org/~gc/t/pango-rendering-fb-2.2.1_01.png

http://zarb.org/~gc/t/pango-rendering2-fb-2.2.0.png / http://zarb.org/~gc/t/pango-rendering2-fb-2.2.1_01.png

http://zarb.org/~gc/t/pango-rendering3-fb-2.2.0.png / http://zarb.org/~gc/t/pango-rendering3-fb-2.2.1_01.png

I'm suspecting the rendering is not done in RGBA mode (not alpha aware rendering)

kthakore commented 13 years ago

Author: kthakore Time: 1277215271 Field: status Value: assigned

kthakore commented 13 years ago

Author: kthakore Time: 1277215271 Field: owner Value: FROGGS

kthakore commented 13 years ago

Author: kthakore Time: 1277215271 Field: comment Value: It was using a macro from here before for white.

http://sdlpango.sourceforge.net/_s_d_l___pango_8h-source.html

MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER and MATRIX_TRANSPARENT_BACK_BLACK_LETTER

We changed that to

http://github.com/kthakore/frozen-bubble/commit/ce2a616c515d173c1f2b46dbfe19be121f309409#L0R20

We might need to put a way to access those macros in perl or move the function back to C.

kthakore commented 13 years ago

Author: kthakore Time: 1277219843 Field: owner Value: gc

kthakore commented 13 years ago

Author: kthakore Time: 1277219843 Field: comment Value: Fixed with http://github.com/kthakore/frozen-bubble/commit/37f91ea610a39c69d970be28622354e98f06e129

Please review.

kthakore commented 13 years ago

Author: kthakore Time: 1277219860 Field: status Value: closed

kthakore commented 13 years ago

Author: kthakore Time: 1277219860 Field: resolution Value: fixed

kthakore commented 13 years ago

Author: kthakore Time: 1277219860 Field: comment Value:

kthakore commented 13 years ago

Author: gcottenc Time: 1277991415 Field: comment Value: looks fine!