- Timestamp:
- Oct 9, 2005, 11:25:04 PM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/font.xpm
r5338 r5339 1 1 /* XPM */ 2 2 static char * font_xpm[] = { 3 "256 256 171",3 "256 256 9 1", 4 4 " c None", 5 ". c #868885", 6 "+ c #878986", 7 "@ c #959794", 8 "# c #A6A8A5", 9 "$ c #A7A9A6", 10 "% c #ABADAA", 11 "& c #B4B6B3", 12 "* c #C1C3BF", 13 "= c #CDCFCB", 14 "- c #D6D8D5", 15 "; c #DCDEDB", 16 "> c #E6E8E5", 17 ", c #E7E9E6", 18 "' c #F1F3F0", 19 ") c #FBFDFA", 20 "! c #FEFFFC", 21 " ", 22 " @ ++ = @@ @ + ", 23 " $+ !@ == @ @ *!=$ &= @* ,!& '' ,; &'$ +$ =+ ", 24 " =@ ,+ && &+ , !@! @+ *@ , , ,* )@ == !+ ;; +& , ", 25 " =@ = @@ , , *; ! ) @@ ; )@ )@ == '@ '@ =@ ++, =+ ", 26 " =@ + @@)@*;@ *, ! , &+$$ ;;@' @@ @) $' + + , ", 27 " =@ @==@,&@ ';! +;$; ; *), == ! +;$& = =+ ", 28 " @ * ' ,!& , ,*,= $$ )@ !@ '+ ) = , ", 29 " @ ! @; )'' *@$;; == +! =& )@ )@ ;@ !!!!!! =+ ", 30 " + *;'=';= ! '& += = ; )@ =' ,+ '$ !@ ===';==+ , ", 31 " $@ ; ! == , @@ ! ,= ';' *; ) = =+ ", 32 " @+ ; ' $ ! )+ = = ; @)@ =)@ +) &, = !! !! , ", 33 " )= , +& &,!!'@ @& $;; @,!,@$!+ ;* ) = !! !! =+ ", 34 " ! '& '$ ! , ", 35 " &!+ ,, *$ &. ", 36 " ", 37 " ", 38 " ", 39 " ;!,+ @*@ @;!!* =!!'$ $= $==== @'!,+ ======+ ,!!* +>!; *,!!,@ ", 40 " '@ ) ,,&)@ @ ;, + )@ +)) ==@@@ =& @@@@$)@ !+ )& ) @! ) +)$ ", 41 " @, &* )@ ! == ,&! =@ +, @; @) == ;& *& @ == ", 42 " =& +) !@ ! ,@ =@@! =@ *@ ' +!@ )+ )@ @; !! !! + ) ", 43 " )@ ! )@ =; =* @= @! ==@ ' *!'@ && &!&;@ '& $! !! !! &' =,+ +'@ ", 44 " !@ ! !@ &' =;'@ ' @! +@=!+ ), @)@ ) +')' &' ,! &'@ @@@@@@@+ =,+ ) ", 45 " )@ ! )@ &' '$ ; @! @! )& *, =& ' ;!+ =!=,@! &'@ @@@@@@@+ =,+ ;& ", 46 " ;$ +! !@ @' $' )!!!)!!@ !@ ,@ @) ) ,& ,' @= +,= @'& =+ ", 47 " $; $; )@ ) $! @! )@ *& $, =& )@ @! =@ +,= !!!!!!!= @'& ", 48 " ) '+ !@ ,, '& @! &! ' '@ ) *, ;& +, !! !! +,= @'& @ ", 49 " +'='$ !!!)!!!@ )!!!!! !;=)= @! !=;' @!='& @! ;'='= @'=,= !! !! ++ & !@ ", 50 " ! ", 51 " *$ ", 52 " ", 53 " ", 54 " ", 55 " @,!, = ====* +=!!,$ ====@ ======+ ======$ +=!!,$ =+ =+ ======+ ==== =+ *+ =+ =* =$ =@ +$ *!!* ", 56 " &; ' *)* )& ;! &'+ @ )& +=' )& )& &'+ + )@ )@ &) @) )@ &; )@ )) @)= )) @= ;& &; ", 57 " , @=, !;! )@ !@ ) )@ ,* )@ )@ ) )@ )@ @! ! )@ ' )@ !;$ ;;= !!& @= @' '@ ", 58 " &@ $@ ; +' !+ !@ !+ *, !@ @) !@ !@ *, !@ !@ @! ! !@ '@ !@ !@, '@= !,) @= =* *= ", 59 " , , ; *$ ,* )@ ;= '& )@ ! )& )@ '& )@ )@ @! ! )@=* )@ ) ! @*@= )+'& @= )@ @! ", 60 " ) = ) ) @) !)!!; )@ !@ ! !,===$ !,==== )@ !)!!!!@ @! ! !,)@ !@ ! *&,+@= ! @) @= !@ @! ", 61 " ! ; &, @, !@ !@ =' )@ )@ ! )@ )& )@ $$ !@ )@ @! ! )@=' )@ ! +') @= ! '=@= )@ @! ", 62 " ; '&&=& ;)!!!!; !@ '& == !@ @! !@ !@ == == !@ !@ @! ! !@ '; !@ ! '* @= ! @)== ;& &; ", 63 " @* @ +@ ! @! )@ == @! )@ ,* )@ )@ +! == )@ )@ @! ! )@ !& )@ ! @= ! ')= $, ,$ ", 64 " ;& @, !@ !@ )@ ;' !@ *' !@ !@ ;' == !@ !@ @! @' !@ @)+ !@ ! @= ! @!= '@ @' ", 65 " &!!* ;@ =; )!!!'@ &!,=,* )!!'& )!!!!!= )@ &!;='& )@ )@ !)!!!!@ !;;' )@ =' )!!!!!@ ! @= ! ,= ';;' ", 66 " ", 67 " ", 68 " ", 69 " ", 70 " @@@@+ @ @@@@+ ", 71 " ====*+ *!!* ====& &!!'* ========+ =+ $+ &@ & = $ = = @= $@ $======+ )=@@+ @& @@@,= ", 72 " )& @)$ ;& &; )& *' &* @ &) )@ =@ $) *$ ;@ @$ ,; ;* )@ ) &) !@ ' == @ ", 73 " )@ $! @' '@ )@ !@ ) @! )@ =@ !+ ) =$ @@ !@ @' $! ;$ '* )@ @& == =' ", 74 " !@ $! =* *= !@ !@ '* @! !@ =@ ,* @, @= = = *' ' '= @' =' !@ ' == ,&@ ", 75 " )@ ,* )@ @! )@ &' +!; @! )@ =@ $! ;$ @; @!@ ; ')= +! '+ @) )@ @& == &+ , ", 76 " !=@$,; !@ @! !,='= ,!= @! !@ =@ !+ ) ) =;& ) $! ;!; '= !@ ' == , &+ ", 77 " )=@@ )@ @! )& '= +'' @! )@ =@ ;= @; ! ,@; , '', ) *' )@ @& == &+ , ", 78 " !@ ;& &; !@ )+ '* @! !@ =@ @) ,@ ! ' ) = *; )@ ! )@ !@ ' == , &+ ", 79 " )@ $, ,$ )@ =' == @! '@ ;@ !&) ;*= !*$ ) &' ! '= )@ @& == &@ , ", 80 " !@ '@ @' !@ '* + )+ @! &, ) ;); =)@ ='@ ,@ '= ! *' !@ ' == ", 81 " )@ ';;' )@ @! ,!==!$ @! ;'=!+ @)@ @) $) $, +! ! )!!!!!!@ )@ @& == ", 82 " '& !@ ' == !!!!!!!!! ", 83 " =!+ ),==$ @& ==='= ", 84 " ", 85 " ", 86 " $* @ ++ @@@ @ += += @ @@@@ ", 87 " ;@ !@ == )=@@$ !@ @! @! !@ @@@!@ ", 88 " @ !@ == *; !@ !@ !@ ", 89 " )@ == == )@ )@ )@ ", 90 " *'!'@ !@ ,!= ;!!,+ @'!$== ;!'& !!))!!!@ +'!&$= !@ ,!$ !!!! @!!!! !@ @' !@ ! =' &! !@ ,!$ ;!'& ", 91 " + $! )== +'= )& )+ @)= )@ '& == ) @)= )== $!+ ! ! )@ +' )@ !=+,=&*= )== $!+ )@ ;; ", 92 " ! !* @) ;; =* == *& $, == ** == != !@ ! ! !@ )+ !@ !@ == @= != !@ ;= ) ", 93 " &=;! )@ ! )@ )@ == ),===,! == )@ == )@ )@ ! ! )*'@ )@ ) =@ @= )@ )@ )@ !@ ", 94 " @' ! !@ ! !@ !@ == !& == !@ == !@ !@ ! ! !$;' !@ ! =@ @= !@ !@ !@ !@ ", 95 " '@ ! )@ @' ;; ,* ,= ;; == ,* ,= )@ )@ ! ! )@ ;' )@ ! =@ @= )@ )@ ;= ) ", 96 " ,= *! !' '@ )& @)@ =;= )& + == @)@ ;== !@ !@ ! ! !@ '; !@ ! =@ @= !@ !@ )@ ;; ", 97 " ,!; *!@ )@*!'@ =!!,$ &!, == =!!'* == $!'+== )@ )@ ! ! )@ '; )@ ! =@ @= )@ )@ ;!'& ", 98 " ,$ ! ", 99 " + @) *' ", 100 " =!!; =!!; ", 101 " ", 102 " @@ @ @@ ", 103 " $,@@ ! @@,$ ", 104 " =+ ) ! ) ", 105 " )@ ! ! ! ", 106 " !@+'!$ ,!=+! !@ ,!* &'!!; !!!)!!= !@ !@ ;; $; ' ' &! ! &, @, =!!!!!! !@ ! @! ", 107 " )== @!@ )@ '! )=;+@= &, !@ )@ )@ +! '+ =@ !$ = ;, '@ !+ ,@ '& )@ ! @! ", 108 " !* *, =* @! !; + =, !@ !@ !@ '& +' @* @=; @@ '*== ,= ' ;& ! ! ! ", 109 " )@ @! )@ @! )@ '!;@ )@ )@ )@ &' =& ; = ! * +)' +! =& ;= !!@ ! @!! @,,= $ ", 110 " !@ @! !@ @! !@ @;)' !@ !@ !@ )@ ) ) ' ; ; @!' '$ ) =; ) ! ) ' @'$;+ ", 111 " )@ *= ,* *! )@ !@ )@ )@ )@ =,$= !@* $$! !+,; &'** &; !@ ! @! @+ ", 112 " !' @) @)@ ==! !@ @ @! ,; ,, @*!@ +)'+ ='+ )= ,$ )& )) &' !@ ! +! ", 113 " )$*),+ $!,+@! )@ *,!); ;!!! ,)& )@ '' $) )$ &; @!+ ;, )!!!!!! ) ! ! ", 114 " !@ @! '+ ' ! ' ", 115 " )@ @! &, +!== ! ==)+ ", 116 " !@ @! @!; ", 117 " =@ =@ @ ", 118 " = @ $* $+ @ += @ $* @ @ ", 119 " +=!!,$ = = '+ '@' +$ +$ ;@ @ $ '@' = = &= $+ $+ '@' ;@ = @)@ ", 120 " &'+ @ @ @ + @ + + @ @ @ @ @ @ + + @ @ *)* *!* ", 121 " ) !;! !;! ", 122 " *, !@ !@ ;!'& *'!'@ *'!'@ *'!'@ *'!'@ ;!!,+ ;!'& ;!'& ;!'& !!!!@ !!!!@ !!!!@ +' !+ +' !+ ", 123 " ,$ )@ )@ )@ '& + $! + $! + $! + $! )& )@ '& )@ '& )@ '& )@ )@ )@ *$ ,* *$ ,* ", 124 " )@ !@ !@ *& $, ! ! ! ! =; *& $, *& $, *& $, !@ !@ !@ ) @) ) @) ", 125 " )@ )@ )@ ),===,! &=;! &=;! &=;! &=;! )@ ),===,! ),===,! ),===,! )@ )@ )@ @, !@ @, !@ ", 126 " ;= !@ !@ !& @' ! @' ! @' ! @' ! !@ !& !& !& !@ !@ !@ ;)!!!!; ;)!!!!; ", 127 " @! )@ )@ ;; '@ ! '@ ! '@ ! '@ ! ;; ;; ;; ;; )@ )@ )@ ! @! ! @! ", 128 " ;' ,, @*!@ )& + ,= *! ,= *! ,= *! ,= *! )& )& + )& + )& + !@ !@ !@ @, !@ @, !@ ", 129 " =!;=,* ,)& )@ =!!'* ,!; *!@ ,!; *!@ ,!; *!@ ,!; *!@ ;!!,@ =!!'* =!!'* =!!'* )@ )@ )@ ;@ =; ;@ =; ", 130 " = ; ", 131 " $$ ' ", 132 " %)- =@ ", 133 " *& ! ! ! ! ", 134 " @ += @ += ", 135 " ======+ ====+ '@' +$ +$ &= '@' &= = = *!!* =+ $+ +,!' *!!*$= @'!@ ", 136 " )& @)) @ + + @ @ @ @ @ ;& &; )@ =@ ) ;& &) @' ", 137 " )@ ;'! @' '@ )@ =@ @! @' =!@ ,$ ", 138 " !@ !!'$'!$ )&! ;!'& ;!'& ;!'& !@ !@ !@ !@ &, @, =* *= !@ =@ ;!!*, @! =* ,;= ) ", 139 " )& *)@ ! $;@! )@ ;; )@ ;; )@ ;; )@ )@ )@ )@ !+ ,@ )@ @! )@ =@ )@ ); &! )@ , @! +; +, &! ", 140 " !,===$ &! !@ ,+@!== ;= ) ;= ) ;= ) !@ !@ !@ !@ ,= ' !@ @! !@ =@ ;; *=) $,!=+ !@ $= @! +; +' $''= ", 141 " )@ ;,,!!!)@ ) @) )@ !@ )@ !@ )@ !@ )@ )@ )@ )@ +! =& )@ @! )@ =@ )@ @= !@ @) )@ ) @! +,' ;* ", 142 " !@ == @! &'=,! !@ !@ !@ !@ !@ !@ !@ !@ !@ !@ '$ ) ;& &; !@ =@ !@ ' !@ @! ;*=@ &; ,; )@ ", 143 " )@ )@ @! '@ &! ;= ) ;= ) ;= ) )@ )@ )@ )@ &'** $, ,$ '@ ;@ ;;' ) &* $), ,$ , +; ) ", 144 " !@ ,, ;!& +' @! )@ ;; )@ ;; )@ ;; ,, @*!@ ,, @*!@ )) '@ @' &, ) +)* ;; @' !& @' , +; @! ", 145 " )!!!!!= ,'$$'!; *& @!!!= ;!'& ;!'& ;!'& ,)& )@ ,)& )@ ;, ';;' ;'=!+ &=,!'& )!!!!! $;'>;' @ + $' ", 146 " '+ == ", 147 " &, )@ ", 148 " @!; ", 149 " ", 150 " ", 151 " ", 152 " ,* @! @! ", 153 " !' !, !' )+ == ;,,@ +'; !' !+ +! =; =@ ", 154 " +!* @!$@!& +! )@ $!!))) ' ,@ $',@ +!& '* !$ $ '$+ @ @) ", 155 " @)@ $) @)+ )!!!!)!$ @!$+ *! @; ' = @'@=& @)+ $' ;= !)))!@ ! !$ ", 156 " =! =! *! @,,@*!$ ='+ '!$ *'@ $' *! )+ == '!; +! ;, ", 157 " ,, )@ &, +)!!,@ &'@ =!* !! @' == ;;*! !)!!!!@ !!!!!' @) ", 158 " =@ &!&@,,@ @$,)+ @!& =!' ')!)';@ == ;* @ @ ==',== =====$ )@ ", 159 " ++ *!)))))' +& )@ & ** ,@ +! &)) ,@ )+ )@ *& ;; ", 160 " @)) $' ! $);==>' =* ) @!$*!,@+ '& &, ! @!' ,)) @) ", 161 " @!= ;* @! =*=,)* +', ;)=&))$ == )+ ') &!$ !@ ", 162 " )+ ;; &; $) ;= &)* ;; ", 163 " ;& = += !' ", 164 " ", 165 " ", 166 " ", 167 " ", 168 " ", 169 " &!'+ @,= *!'@ *'!& '= !!!!!+ &'!; !!!!!! *!'$ *!, &,!!,@ ", 170 " ;'@'' +!))@ !=@;) '*@*)@ ')@ !@@@@ +!;@@+ !@@@'' !=@*)+ ';@,' )*@@;) ", 171 " +) @! @ ) += ! @) ;=) $' '@ @ )@ @) ) $' ! =, !@ += ! ", 172 " *; @! +! $' @!)+ *;@! =';'& &'='* ,; !!!!+ =' &! +'; +'; &!= =!!!!!! =); &'; ", 173 " )@ $, $, &)+ +*)@ &' $, '*@;!@ ')&*!$ @) $!&*)@ +!!)!, ))! ))! @),+ ======$ @!'@ $),$ ", 174 " ! ,& =* ='+ '& +);@,,@ ,& )@ '* '* )@ '& @@!@ @= @= =)' ======+ &), ;* ", 175 " ! ) )@ '= @ )@ ,)))))= )@ ) )@ *' +) )@ *, +* @!' +)))))) +''@ ++ ", 176 " !;$'* +@&!&@+ *!,@&) =,@@,, @&!& ;*@$'; !;@,; )@ !;@,; +@$,' $))@ @!' ,!& ,)@ $)) ", 177 " +''$ ')!)))$ !)))!! @;)'& +)!)!+ &,)'& +')& ,, $')& '),& @!= !) &+ +& @!$ ", 178 " &!$ ", 179 " !, ", 180 " ", 181 " ", 182 " ", 183 " ", 184 " ", 185 " =!!'& =!!!! !!!!!!& ;!;== !!!!!!* !!!!!!!= !!!!!!!= ;!;=* !!!+=!!; !!!!!! !!!!!!$ !!!! '!!; $!!!!@ !!! @!!$ !!! !!!& *'!,@ ", 186 " $!=@@=)@ @*!!! *!@@@;) @!&@,)& *!@@@=)= *!@@@@!@ *!@@@@!@ +!,@;)& *!@ @!= @@!=@@ @@@!=@ *!@@ ''$ +*!@@ *!, ,!= *!!+ @!= +!,$@,)$ ", 187 " !@ ) =!;!@ $' ! !+ )@ $' *! $' ) $' ) !* )@ $' ) ) ) $' ;' $' $'= @=) $''* ) !& ,' ", 188 " &, *'!! +)$@!& =* *' *; @ =* @! =* +! = =* +! = &' ! =* +! +! +! ==$!; =* =*=@'@! =**) +! &, @) ", 189 " '@ )& ;, ,' ); )!!!)' )@ )@ $, )!)!, )!)!, '$ )!!)!, $, =+ $, ))!)' )@ )@='&$, )@+!+$, )@ $, ", 190 " ) =; *), @)=@@!) !&@@;)+ !@ ! '& !&@'*+ !&@,* ) @@@@ !&@@,* =* ) ;* !* &), ! == ! =) =* ! !*=* !@ '& ", 191 " !@@!'&)! !)))!!! @) )@ )$ @! &) @) !@ @) ! +)))! @) )@ )@ @! )@ @) =! @! )@ @! $& )@ @! *))@ )= &' ", 192 " ''$@@= +=!$ =!& @='@@@,' =)&@=! @='@@$,)+ @='@@@&! @='@@ ''&@@*! +='@ &!& +@&!&@+ $!'$@;' @='@+ !=+ @='@@@&! ='@ &!& ='@ +!! &);@$,'+ ", 193 " ;))=@ ;!), ;!)! ))))))* *))* ))))))* ))))))!! ))))! =)),=@ ,))*@!)! ')!)))$ $;))* ))))& ))@ ))))))!' *))' =!), =))! !! $,)'& ", 194 " ", 195 " ", 196 " ", 197 " ", 198 " ", 199 " ", 200 " ", 201 " !!!!!,@ =!'& !!!!!!$ *'!;== ;!!!!!!; !!!! &!!!; !!!& !!!= !!! =!!= !!! &!!; !!! =!!= !!!!!!@ =!!$ &@ @!!= & ", 202 " *!@@$') +!=@=)& *!@@@;) ',$@;)$ )=@!=@!= *!@@ +@!= $!= *!* ,!@ @,, $!, *!$ @!' =!$ !@@*!, '=@ )= +@!@ +)+ ", 203 " $' ! !& ,! $' ! @' )+ +) ) )@ $' ) )* ;, == @! )@ =!@!+ $! @!+ $' '' ) =! ) !)= ", 204 " =* @! *, @! =* @! *)$ *! +! !@ =* +! ', @) == '! +! !)+ ''&)& ++ '' +! @! +! '=&) ", 205 " )=@@*!$ )$ $, )=@@=!$ )!!!, $, )@ $, =! '= ;$@=;@*; !; @)!& ;)+ $, !@ $, ;, !$ ", 206 " !)));@ ! ,& !))))& @@*)@ =* ! ;* &! =) )$' =@'@ ;') ,= =)+ $@ =* != =* + ", 207 " @! ! ) @! '), &! )@ )@ ! )+ @!;!& ),& $;) *' != )@ &!$ )@ )@ =! )@ ", 208 " @='@@ ,= '+ @='@ @!)+ =!,@$,' @&!&@ !'$@&!; !)' !' @)* +*)= ,)@ @&!&@ @)'@@&! ! @! ! ", 209 " ))))! ',=; )))= !)* '=;)'& )!))= @;)),& !)@ )@ )+ ;!),$!)! )!))= '))))!! @! !@ @! ", 210 " '))=&@ &'@ !* @=; ", 211 " '!!)), ;)!@ &))& ========@ ", 212 " ", 213 " ", 214 " ", 215 " ", 216 " @!@ '! '! ", 217 " &' +=! =='= ;!!!+ +=! != != +=! =='= ", 218 " @,! ==)@ ,=@@@ @,! @ @ @,! ==)@ ", 219 " @=!!,+ $!&'!& &'!*!$ *),$) $,!'@ &)))))+ *!,&!!@ $!&'!$ !)! ;!!)! $';!!!+ ) &!!='$,' =!!*;!'$ $;!!;+ ", 220 " )=@@') =!,@*)@ ',@@,! ';@=)! ')&@,)@ +=!@@@ !,@*)!@ =!;@;) @=! @@@=! =**!=@ +! +,' )'+)& @,!'&@') ''&@$,)@ ", 221 " @@@=, !* ,= ,= @! ,= ;, =' '= $, ,; ,, !* $, $, $, );'& $, )@ )@ )@ !* $, ,; ,= ", 222 " &!))))* ! ;* ) ) =* )=@@@@,& =* ) ;* ! =* =* =* !,)@ =* ! ! ! ! =* ) ;* ", 223 " +! )@ @!+ )+ ! !+ )@ @)))))))@ )@ !+ )@ @! )@ )@ )@ @) @! )@ @! @! @! @! )@ !@ +) ", 224 " @!&@;!!& @=!'$&!& ''$@;!@ !'@&!!& !=@@@&; +&!&@@ !'$&!! @='@ &!& +@&!&@+ ! @=; +!,@ +@&!&@+ +=' &' &'+ @='@ +&!& ')*@@;)& ", 225 " =)'**)! )!**),@ ;)'* ,)**)! *)),& '!)))! ,)=;! )))*$!)! ')!)))$ @! ))& ;))! ')!)))$ ,)!@;!@;)@ )))! '!)! &')'* ", 226 " =@@$'= &@&)$ ", 227 " @=)),& &'),@ ", 228 " ", 229 " ", 230 " ", 231 " ! ", 232 " ' ", 233 " ! =!+ @= +!, ", 234 " ! ,,@ *@ $)@ ", 235 " =!!*'!& *!,$!!@ ;!!+&!; $,!,,' &!!!!!& =!' @!! &!!!+ &!!!+ &!!, !!!+ $!!, !!! $!!' !!! $!!!!!! ) ' ) ", 236 " @,!,@*)@ !;@=)!@ @=!)==; &'$@&)= +,;@@@ @,* =! +=!* @!;@ +!=+@= *!& +'!@ '!& +=!@ !,@ =;@@;!= @! ) +! ", 237 " !* ,= ,= ;, $!@ ';+ @+ )@ )@ $, )& *) )@ '' &, @)@&!* +)@ *' @ $!@ ,!& , !! $& + ", 238 " ! ;* ) =* =* @))!!' ! ! =* !' @)@ '@@') )+ ,))' !' &) ;' &!@ @* &'$ ;))'=)@ ", 239 " @!+ )+ !+ )@ )@ += $!@ @! @! )@ =!+!; =$'@!@, &'&'' ;!,!@ '= =+ )@ =@ )@ , ;!$ ", 240 " &!'$&!& ''@&!! @&!&@ &)=@@=' @!*@;! @!*&!!& $!)! ='& !)+ +&!' +)!$ $!)& @!'@@&) ! ) ! ", 241 " ;**),@ ,)**! )!))!@ '=,))* ;)'*+ =),=)! !!@ =' ;, ,!), &!)! *!; !))))!! @! ! @! ", 242 " @)=@ +@='@ @@$)!$ @!* +; $'= ", 243 " @!))! '))); ))!!)! ;! && @'& ", 244 " ;@ ", 245 " ) ", 246 " ,' ", 247 " @' @, * ; ", 248 " = =& *'@ ,!@ &; =& '' @'!@ '!+ &; =& '' +'; '= *; ;= +;@ ", 249 " *'!;= = '$ ;= @,++' '& '$ ;; , = $, +'+ '& '$ '; ;$&!$ *= &; ! =)!) =))) ", 250 " +!,@$)& + *,* + + )@'' @*!! @*!! ", 251 " !& =@ =!' @!! $,!'@ @=!!,+ @=!!,+ @=!!,+ $;)),+ *''=! $,!'@ $,!'@ $,!'@ !)) !!! !!! ='!@ ='!@ ", 252 " *, @ @,* =! ')&@,)@ )=@@') )=@@') )=@@') )&@$') ',@$'! ')&@,)@ ')&@,)@ ')&@,)@ @=! @=! @=! +) !& +) !& ", 253 " )@ )@ $, =' '= @@@=, @@@=, @@@=, +@@@=, ,= =' =' '= =' '= =' '= #, $, $, ,; ); ,; ); ", 254 " !@ ! =* )=@@@@,& &!))))* &!))))* &!))))* &)))))* ) )=@@@@,& )=@@@@,& )=@@@@,& =* =* =* @)=@!) @)=@!) ", 255 " )= @! )@ @)))))))@ +! )@ +! )@ +! )@ +! )@ ! @ @)))))))@ @)))))))@ @)))))))@ )@ )@ )@ !))!!! !))!!! ", 256 " =);@$' @!*&!!& !=@@@&; @!&@;!!& @!&@;!!& @!&@;!!& @!$$,!!& ''$$,' !=@@@&; !;@@@&; !=@@@&; +@&!&@+ +@&!&@+ +@&!&@+ =!$ =!& +=!$ =!& ", 257 " &,),@ =),=)! *)),& =)'**)! =)'**)! =)'**)! =),&*)! ;),$ *)),& *)),& *)),& ')!)))$ ')!)))$ ')!)))$ @!), ;!)! ;!), ;!)! ", 258 " !@ !@ ", 259 " @& +& ", 260 " '; ;, ", 261 " ", 262 " &' ", 263 " ;; @' @, @' @, ", 264 " '! &; =& ', ,! '* &; =& *; ;= *; ;= ", 265 " !!!!!!!= $!!!!!!; @, @' '& '$ '$ @, @' !+ '& '$ *!'& !)); )!!; *!'$ *'!,&& *!!@ ", 266 " *!@@@@!@ +!;!=@=$ @ +!=@=)& *!@+ @!= '=@=)+ +!,$@,); ,,@@ ", 267 " $' ) &,!!$*!' +)+) $@ &,!,@ &,!,@ &,!,@ =!' @!! =!' @!! $!!' !!! !@ =' $' ) $;!!;&; @' !& ')! @&)* ", 268 " =* +! = ;@@=),@'; ,=+! !$ ''$@,)@ ''$@,)@ ''$@,)@ @,* =! @,* =! +=!@ !,@ *, @) =* +! ''&@*))$ == &, '&@! @!+ +!@ ))!)+ ", 269 " )!)!, @@;)$@=, +) $!!) ,; ,= ,; ,= ,; ,= )@ $, )@ $, +)@ *' )@ $, )@ $, ,; @!;'= ')!!!! )@ +)+ $, ''*!$ !@ ", 270 " !&@'*+ &!)))!)))& ,, ;=&=++ ) ;* ) ;* ) ;* ! =* ! =* !' &) !@ ,& ! ;* ) ;)@ ;* @!@ !@&' '& ))@ &! ", 271 " @) !@ +!+ '& @)!))@ '@ !+ +)+ !+ +)+ !+ +)+ @! )@ @! )@ ;!,!@ )& &' ! )+ !*); +) @) )'' &' ,!)* '& ", 272 " @='@@@&! @!$&'))$@* +'; !&@$) ')$@=)& ')$@=)& ')$@=)& @!*&!!& @!*&!!& $!)& =)&@;)+ !,@$'; !)'@@;)& ',@$&+ ,),@$,'+ '; *)@ +) ", 273 " ))))))!! ,);@ ;)'* ;)! @)))!! *))=+ *))=+ *))=+ =),=)! =),=)! *!; &))* @,)'& ;*')'* =)))),+ &&')'& & * ;, ", 274 " @@$)!$ +@*)+ ", 275 " ))!!)! ');+ ", 5 ". c #FEFEFE", 6 "+ c #FDFDFD", 7 "@ c #FAFAFA", 8 "# c #FBFBFB", 9 "$ c #F8F8F8", 10 "% c #FCFCFC", 11 "& c #F9F9F9", 12 "* c #F7F7F7", 13 " ", 14 " ", 15 " . . . . . . . . . . . . . . . . . . . . . . . ", 16 " ", 17 " ", 18 " ", 19 " ", 20 " ", 21 " ", 22 " . . . . . . . . . . . . . . . . ", 23 " ", 24 " ", 25 " ", 26 " ", 27 " ", 28 " ", 29 " ", 30 " ", 31 " . . . . . . . . . . . . . . . . . . . . . ", 32 " ", 33 " ", 34 " ", 35 " ", 36 " ", 37 " ", 38 " . . . . . . . . . . . . . . . . ", 39 " ", 40 " ", 41 " ", 42 " ", 43 " ", 44 " ", 45 " ", 46 " ", 47 " .. ... . .. . +...... .. .. . . . .. . .. .. ", 48 " .. ... ... ........ .+ +... ...+ .. .. .. ", 49 " .. ... ......... .. @ .. ..+ # .+ ", 50 " .. .......... ... ... .. ..$ ", 51 " ++ ... #.. ...++ .+ ... .. #.. ", 52 " %......%%%. ... %.... ... .. .. ", 53 " .. +........+ ..........+ ... .+ +.. ", 54 " .. . .. .. . ...........# ... .+ . . . .. ", 55 " .. &.......... .....+ ... .+ %@ ", 56 " &.........% ... .+ ", 57 " ... .. ..+ ", 58 " +... ....# ", 59 " ++. ..% ", 60 " ", 61 " ", 62 " ", 63 " .+....+# .... .......... .......... .. ........... +%.++%%## .......... .......+ +.....+% .. .. . . . ...... ", 64 " .......... ..... .......... ........% .. ........... ......... .......... ........+ &........+ .. .. ......+ ", 65 " ... .+ ... %. .. .. .. ..+ &.. .. ... ", 66 " .. .. ... +........ ..+ .......... ........% ......... ........ @......... .. .. .....+ ", 67 " .. .. ... .......... ..... .......... .........% .......... ..% ........+ +........ .. .. ..... ", 68 " .. .. ... ... ... ... .. @.+ ... ..# # ", 69 " %......#.+ ... .......... .......... .. .......... #..@@%+... ... ..........$ ........ . ", 70 " ........ ... ........... &......... .. &.........+ +........ ..+ .......... ......... .. ", 71 " ....+ . .......... ........ .. ........+ ...... .. ....... ......+ . ", 72 " ", 73 " ", 74 " ", 75 " ", 76 " ", 77 " ", 78 " ", 79 " . .........+ .........% ........ ........+. %......... +........ .+....... ... ... ... ... ... ..& ... .%. .#. +#% .. %.......+ ", 80 " ........... ..........# ......... ..........+ +..........% +......... .......... ... ... ... ... ... ++. ... %...+ .... %...+ .. ..........@ ", 81 " %.% ... +.. .. @. +.. +.+ +.. ... ... ... ... ... ..+ ... ..#.. ..... ... .# .. +.. ..% ", 82 " ........... .......... .. .. &........... .......... ... .... ... *....... ... ... ... .. ... ... .. .. ... ... .% .. ... .. ", 83 " ............ .......... .. ... .. &.........+ .......... ... ..... ... *....... ... ... ... .# ... ... +. .. ... ... $.. .. ... .. ", 84 " ... ... ... .+ .. ... .. &.. ... ... .. ... ... ... ... ... ... ... ... .% +. ... ... +.. .. +.. .. ", 85 " ............ ........... %.+...... ..........+ .......... ... #......... ... ... ... ......+ ... #.+ %......... ... ....# ... ... ..... %........#.. ", 86 " . .........%.. ........... +....... .......... %.......... ... ......... ... ... ... ....... ... ... ......... ... ... ... ... ...@ +........+ ", 87 " ", 88 " ", 89 " ", 90 " ", 91 " ", 92 " ", 93 " ", 94 " ", 95 " .........%. .+......+. .........% ......... ....... ....... .. .. .. ..+ %.. ... +. ... ... ... ... .......... .. .. .. . ........ ", 96 " ..........+ %..........+ ..........# .......... &&&&#.. ....... .. .. %.. .. .. ...@ .. ... ..+ ... ... ......... .... .. ... ", 97 " .. %.. ..% ... ..+ .. .. .. .. .. +. ... .... .. %.. ... %.. ... .. .. ..+ ", 98 " ..........+ .. ... ..........% .........+ .. .. .. .. ..+ ..+ .. .. .+ %.. ..... .......... ... .. .. ", 99 " .........+. .. ... ........+. .........+ .. .. .. .. .. .. .. +. .. +. ....+ ........$ .... ... .. .. ", 100 " ... ..% %% %.. ... #.+ .. .. .. %.. .. ..+ %.. ... .. ..+ .. ... ... ..% ... .. .. ", 101 " .. %......#+..# .. +.. .......... .. .. .........% ..#.. +... ....+ ... ... .... ......... ... .. .+ ", 102 " .. %......... .. ..@ &.......... .. .. #........ +..% %..+ .... ... ... .... ........... ... .. .+ ", 103 " .. .. ... .+ ", 104 " .. ... .+ ", 105 " .. .. ..+ ", 106 " +... .... ", 107 " %+. .% ", 108 " ", 109 " ", 110 " ", 111 " .. .........+ .........% ........ ........+. +........ +........ .+....... ... ... ... ... ... ..& ... .+. .%. +%+ .. %.......++ ", 112 " .........+. ..........# +........ .........+ #......... +......... +......... ... ... ... ... ... ... ... %...+ .... %...+ .. ..........# ", 113 " %.% ... +.. .. +. +.+ +.. ... ... ... ... ... ..+ ... ..#.. ..... ... .% .. +.. ..% ", 114 " ........... .......... .. . .. .......... .......... ... .... ... *....... ... ... ... .. ... ... .. .. ... ... .+ .. ... .. ", 115 " ............ .......... .. ... .. .......... .......... ... ..... ... *....... ... ... ... .% ... ... +. .. ... ... $.. .. ... .. ", 116 " ... ... ... .+ ... ... .. ... ... ... .. ... ... ... ... ... ... ... ... .% +. ... ... +.. .. +.. .. ", 117 " ............ ........... %.+...... ..........+ %......... ... #......... ... ... ... ......+ ... #.+ %......... ... ...# ... ... ..... ........%.. ", 118 " .........%.. ........... +....... .........+ %........ ... ......... ... ... ... ....... ... ..+ ......... ... ... ... ... ...@ +........+ ", 119 " ", 120 " ", 121 " ", 122 " ", 123 " ", 124 " ", 125 " ", 126 " ", 127 " .........+. .+......+. .........+. ......... ....... ....... .. .. .. ..+ %.. ... +. ... ... ... ... .......... . ... . . . ", 128 " ..........+ %..........% ..........% .......... &&&#.. ....... .. .. %.. .. .. ...@ .. ... ..+ ... ... ......... ... ", 129 " .. +.. ..% .. ..+ .. .. .. .. .. +. ... .... .. %.. ... #.. ... .. ", 130 " ..........+ .. ... ..........% +........+ .. .. .. .. +.. ..+ .. .. .+ %.+ ..... .......... .. ", 131 " .........+ .. ... .........+ .........+ .. .. .. .. .. .. .. +. .. +. ....+ ........$ .... ", 132 " ... ..% ++ %.. ... .% .. .. .. %.. .. .+ +.. +.. .. .+ .. ... ... ..# && ", 133 " .. #......#+..# .. .. &.......... .. .. .........+ +.%.. +... ....+ ... ... .... ......... ... ", 134 " .. %......... .. ... &.......... .. .. #........ +.. %..+ .... ... ... .... ........... ... ", 135 " .. ", 136 " ", 137 " ", 138 " ", 139 " ", 140 " ", 141 " ", 142 " ", 143 " . . . . . . . . . . ", 144 " ", 145 " ", 146 " ", 147 " ", 148 " ", 149 " ", 150 " ", 151 " ", 152 " ", 153 " ", 154 " ", 155 " ", 156 " ", 157 " ", 158 " ", 159 " ", 160 " ", 161 " ", 162 " ", 163 " ", 164 " ", 165 " ", 166 " ", 167 " ", 168 " ", 169 " ", 170 " ", 171 " ", 172 " ", 173 " ", 174 " ", 175 " .. .. .+..... .. ... ... .. .. ", 176 " .. ... ...... .. ... ... .. . ", 177 " %....... ... .. ... .. ", 178 " .. +........ #%..... . +......... . ", 179 " .. +.. +. .....%# # .+.....+@ # ", 180 " .. .. #. .. && ", 181 " .. .. &. ...... ... ... ", 182 " .. ... @. +....... .... ... ", 183 " +...@+... ", 184 " #....... ", 185 " ... ", 186 " .. ", 187 " ", 188 " ", 189 " ", 190 " ", 191 " .. ..+ .. ", 192 " .. ", 193 " ", 194 " +.... ", 195 " +..... ", 196 " ... ", 197 " +....... ", 198 " ....... ", 199 " ", 200 " ", 201 " ", 202 " ", 203 " ", 204 " ", 205 " ", 206 " ", 207 " .@ .. ... ...+ .. .. ..........%..... ........ +. .% .+.+ .. . .. @. ..+.. . . ", 208 " * %% #% ...& . .. ...........@ #........ . . %% . . ", 209 " ........ ..+ +.. ...... ...... . . ", 210 " ........... .........+ .........+ .........+ .........+ .......+..%....... +......... %......... +......... %......... ... ... ... .. ", 211 " ........%. ........... ........... ........... ........... ........% ...........#....... +..........+ ..........% +..........+ ..........% ... ... ... .. ", 212 " ..+ %.% %.% %.% %.% ........... ... ..+ ..+ &.. +.. @.. +.. &.. +.. @.. .. ... ... ... .. ", 213 " ........... ........... ........... ........... ........... %.% ........+.... +........ &........... &........... &........... &........... ... ... ... .. ", 214 " ............ ............ ............ ............ ............ ...... ... .......+%...... ++...... &.........% &.........+ &.........% &.........+ ... ... ... .. ", 215 " .. ... ... ... ... ... ... ... ... ... +........... +.. #.. &.. #.. &.. ... ... ... .. ", 216 " ............ ............ ............ ............ ............ ... ... ........... .......... ........... .......... ... ... ... .. ", 217 " ........%.. .........+.. .........+.. .........+.. .........+.. ... ... +......... %.......... +......... %.......... ... ... ... .. ", 218 " ...... . ...... . ...... . ...... . ............ ........ ........ . .. ", 219 " .......+ .. ", 220 " ", 221 " ", 222 " ", 223 " .........+ .... ..+ .. .... ...# . .. .......+.. .. &+. ..+. .@ .+ +. ... .......... ", 224 " .........+ +.. * ... . . +.........% .@ + .........++ ..+.......+ ", 225 " .. ...... ...... %.. ..%.+ .. .. .. .. ... .. . .. .. ... ........... ..% ... ", 226 " ....... .. +#% .. +........+ %.......+ +........+ %.......+ %.......+ ... %+ .. ... .. ... .. ... .. ... .. ... ... .. .......... ", 227 " ....... .. %...% .. +..........+ #.......... +..........+ #.......... #.......... ... .. .. ... .. ... .. ... .. ... .. +.. ... ... ........... ", 228 " ... .. .. .# .. .. ..+ +.. ..% .. ..+ +.. ..% +.. ..% ... +. .. ... .. ... .. ... .. ... .. .......... ..........+ ..& .. ", 229 " ........... .. .% .. .. ... .. ... .. ... .. ... ... ... ...++ #.. ... .. ... .. ... .. ... .. +........@ .........# ..& +..... ", 230 " .........+ .. &.. .. .. ... .. ... .. ... .. ... ... ... .......... ... .. ... .. +.. .. ... .. ... ..& +..... ", 231 " .. ... .. +.+ #.. +. ... +.. #.. +. ... +.. ... .@......% %.. .+ %.. .+ +.. ..+ %.. .+ .. ..& ", 232 " .. ..... @.......... %........%.. .......... %........%.. %........%.. .......... .......... +........ .......... .... .. ", 233 " .. ...@ %+......%+ +........+ %+......%+ +........+ +........+ @+....... &+....... .....+ &+....... .... ", 234 " ", 235 " ", 236 " ", 237 " ", 238 " ", 239 " .+ .. ..... ...% ... .. . + ..........%..... ........ ..+ ..+ .+.# .. . .. ..% ..+.% . . ", 240 " ... . .. . % ........%..# #........ . . . . ", 241 " ........ ........ ........ ........ ........ ...# ... ... ....... ....... ....... .. .. . ", 242 " ........... ........... ........... ........... ........... .................. +........ +........ +........ ........ .. ... ... .. ", 243 " %.+ %.+ %.+ %.+ %.+ .........% ............ ... %.+ %.+ %.+ #......... .. ... ... .. ", 244 " ..+ ..+ ..+ ..+ ..+ ........... ... ... ... .. .. ..# +. .. ... ... .. ", 245 " %........... %........... %........... %........... %........... %.% ............. +........ .......... .......... .......... .......... .. ... ... .. ", 246 " ............ ............ ............ ............ ............ +...... ... ........%...... ++...... .......... .......... .......... .......... .. ... ... .. ", 247 " .. ... .. ... .. ... .. ... ... ... +........... ... ... ... ... ... .. ... ... .. ", 248 " ............ ............ ............ ............ ............ ... ... &@ ......... ......... ......... %......... .. ... ... .. ", 249 " ........%.. ........%.. ........%.. ........%.. ........%.. ... ... @+....... @+....... @+....... %........ .. ... ... .. ", 250 " .........+.. ", 251 " .......+ .. ", 252 " ", 253 " ", 254 " ", 255 " .......... +..% %.. ..+ .... ..++ .. .. .......+.. .. ... ..%.. .. .. ..@ ... .. . ", 256 " .........+ +.. +.. . . +.........% .. . .........++ . . ", 257 " .. * ...... ...... ...... ...... ...... %.. ..#.+ .. .. ... .. ... .. .. .. ... ... ........... .. .. ", 258 " ....... .. ..++ .. +........+ +........+ +........+ +........+ +........+ ... ++ .. ... .. ... .. ... .. ... .. ... ... .. .. ... ", 259 " ....... .. +....# .. +.. ..+ +.. ..+ +.. ..+ +.. ..+ +.. ..+ ... .. .. ... .. ... .. ... .. ... .. %.. ... ........... .. ... ", 260 " ... .. .. .+* .. .. ..+ .. ..+ .. ..+ .. ..+ ... ..+ ... +. .. ... .. ... .. ... .. ... .. +......... ..........+ .. .. ", 261 " ........... .. ++ .. .. ... .. ... .. ... .. ... ... ... ...++...#.. ... .. ... .. ... .. ... .. ........@ ... +........% ", 262 " .........+ .. +. .. .. ... .. ... .. ... .. ... ... ... .........+ ... .. +.. .. +.. .. ... .. ... +.....+ ", 263 " .. ..... +.+ #.. +.. #.. +.. #.. +.. #.. +.. #.. .&...... %.. ..+ +.. ..+ +.. ..+ #.. ..+ . ", 264 " .. ...+ .......... .......... .......... .......... .......... .......... %........ %........ .......... .... .... ", 265 " .. %+ +......% +......% +......% +......% +......% +.....+. .....+ .....+ +....... ... .... ", 266 " ", 267 " ", 276 268 " "}; -
trunk/src/lib/graphics/text_engine.cc
r5337 r5339 453 453 454 454 this->fastTextureID = this->createFastTexture(); 455 456 457 // this->createAsciiImage("test.bmp"); 455 458 } 456 459 … … 472 475 if (xpmArray != NULL) 473 476 this->loadFontFromXPMArray(xpmArray); 477 474 478 } 475 479 … … 569 573 glNewList(glyph->displayList, GL_COMPILE); // Start Building A List 570 574 glBegin(GL_QUADS); // Use A Quad For Each Character 571 glTexCoord2f(cx, 1.0f-cy-0.0625f); // Texture Coord (Bottom Left)572 glVertex2d(0, 16); // Vertex Coord (Bottom Left)573 glTexCoord2f(cx+0.0625f, 1.0f-cy-0.0625f); // Texture Coord (Bottom Right)574 glVertex2i(16, 16); // Vertex Coord (Bottom Right)575 glTexCoord2f(cx+0.0625f, 1.0f-cy-0.001f); // Texture Coord (Top Right)575 glTexCoord2f(cx, cy+0.001f); // Texture Coord (Bottom Left) 576 glVertex2d(0,-16); // Vertex Coord (Bottom Left) 577 glTexCoord2f(cx+0.0625f, cy+0.001f); // Texture Coord (Bottom Right) 578 glVertex2i(16,-16); // Vertex Coord (Bottom Right) 579 glTexCoord2f(cx+0.0625f, cy+0.0625f); // Texture Coord (Top Right) 576 580 glVertex2i(16,0); // Vertex Coord (Top Right) 577 glTexCoord2f(cx, 1.0f-cy-0.001f); // Texture Coord (Top Left)581 glTexCoord2f(cx, cy+0.0625f); // Texture Coord (Top Left) 578 582 glVertex2i(0,0); // Vertex Coord (Top Left) 579 583 glEnd(); // Done Building Our Quad (Character) … … 621 625 622 626 Font* Font::defaultFont = NULL; 627 628 void Font::createAsciiImage(const char* fileName) 629 { 630 if (this->font == NULL) 631 return; 632 int height = this->getMaxHeight(); 633 634 // 635 SDL_Color tmpColor = {0, 0, 0}; 636 // Surface definition. 637 SDL_Rect tmpRect; // this represents a Rectangle for blitting. 638 SDL_Surface* tmpSurf = SDL_CreateRGBSurface(SDL_SWSURFACE, 639 height*16, height*16, 640 32, 641 #if SDL_BYTEORDER == SDL_LIL_ENDIAN /* OpenGL RGBA masks */ 642 0x000000FF, 643 0x0000FF00, 644 0x00FF0000, 645 0xFF000000 646 #else 647 0xFF000000, 648 0x00FF0000, 649 0x0000FF00, 650 0x000000FF 651 #endif 652 ); 653 tmpRect.x = 0; tmpRect.y = 0; tmpRect.w = tmpSurf->w; tmpRect.h = tmpSurf->h; 654 SDL_SetClipRect(tmpSurf, &tmpRect); 655 int maxLineHeight = 0; 656 657 int posX, posY; 658 // all the interessting Glyphs 659 for (posY = 0; posY < 16; posY++) 660 { 661 for (posX = 0; posX < 16; posX++) 662 { 663 SDL_Surface* glyphSurf = NULL; 664 if (likely(this->font != NULL)) 665 { 666 SDL_Color white = {255, 255, 255}; 667 glyphSurf = TTF_RenderGlyph_Blended(this->font, posX+16*posY, white); 668 } 669 if( glyphSurf != NULL ) 670 { 671 tmpRect.x = height*posX; 672 tmpRect.y = height*posY; 673 SDL_SetAlpha(glyphSurf, 0, 0); 674 675 SDL_BlitSurface(glyphSurf, NULL, tmpSurf, &tmpRect); 676 SDL_FreeSurface(glyphSurf); 677 // Outputting Glyphs to BMP-files. 678 /* 679 char outname[512]; 680 if (i < 10) 681 sprintf( outname, "%s-glyph-00%d.bmp", this->getName(), i ); 682 else if (i <100) 683 sprintf( outname, "%s-glyph-0%d.bmp", this->getName(), i ); 684 else 685 sprintf( outname, "%s-glyph-%d.bmp", this->getName(), i ); 686 SDL_SaveBMP(tmpSurf, outname);*/ 687 688 } 689 } 690 } 691 SDL_SaveBMP(tmpSurf, fileName); 692 SDL_FreeSurface(tmpSurf); 693 } 694 623 695 /** 624 696 * initializes the default font … … 747 819 748 820 // all the interessting Glyphs 749 for (int i = 0; i < = 127; i++)821 for (int i = 0; i < 128; i++) 750 822 { 751 823 SDL_Surface* glyphSurf = NULL; … … 882 954 { 883 955 x = 0; y = 0; 884 for (i = 0; i < FONT_HIGHEST_KNOWN_CHAR; i++)956 for (i = 0; i <= FONT_HIGHEST_KNOWN_CHAR; i++) 885 957 { 886 if( tmpGlyph = this->glyphArray[i])958 if((tmpGlyph = this->glyphArray[i]) != NULL) 887 959 { 888 960 // getting the height of the highest Glyph in the Line. … … 902 974 } 903 975 } 904 if (i == FONT_HIGHEST_KNOWN_CHAR)976 if (i >= FONT_HIGHEST_KNOWN_CHAR-1 || size > 8192) 905 977 sizeOK = true; 906 978 else -
trunk/src/lib/graphics/text_engine.h
r5337 r5339 46 46 #define FONT_NUM_COLORS 256 //!< number of colors. 47 47 48 #define FONT_HIGHEST_KNOWN_CHAR 256//!< The highest character known to the textEngine.48 #define FONT_HIGHEST_KNOWN_CHAR 128 //!< The highest character known to the textEngine. 49 49 50 50 #define TEXT_DEFAULT_ALIGNMENT TEXT_ALIGN_CENTER //!< default alignment … … 183 183 inline static Font* getDefaultFont() { return Font::defaultFont; }; 184 184 185 void createAsciiImage(const char* fileName); 185 186 static void initDefaultFont(); 186 187 static void removeDefaultFont();
Note: See TracChangeset
for help on using the changeset viewer.