|
![](/i/fill.gif) |
Knut Torgersen wrote:
> On my WinXP 2GHz DualCore with 1 GB RAM I have the following problem:
>
> #include "colors.inc"
>
> camera {
> location < 0.0, 0.0,-10.0 >
> direction < 0.0, 0.0, 3.5 >
> up < 0.0, 1.0, 0.0 >
> right < 3.2, 0.0, 0.0 >
> look_at < 0.0, 0.0, 0.0 >
> }
>
> light_source { <-30, 21,-20 > color White }
>
> text {
> translate x*-1.6
> pigment { color Yellow}
> finish { ambient 0.4 }
> }
>
> Should render a yellow A, followed by a B and terminated by the
> copyright symbol. Only A and B appears. This problem has been around for
> some ten years now and I just wonder when (if) it will be addressed and
> fixed.
>
> \knutt\
Now that we determined that
text {ttf "arial.ttf" "AB\u00a9" 1, 0 pigment {Yellow}}
should render any printable Unicode character, I went on and tried this:
text {ttf "arial.ttf" "AB\u00F8" 1, 0 pigment {Yellow}}
rendered correctly in this forum). I did get the German double "s" or
Greek "Beta" (Unicode 0x00DF, so something isn't quite keeping up here.
Me? Perhaps, that's why I ask for help :-) Well, since this seems odd, I
went on and did a "dir" on my fonts folder for Arial files.
C:\WINDOWS\Fonts>dir ar*
Volumet i stasjon C er Peregrin
Volumserienummeret er AC21-8533
Innhold i C:\WINDOWS\Fonts
2004-08-04 14:00 367 112 arial.ttf
2004-08-04 14:00 352 224 arialbd.ttf
2004-08-04 14:00 226 748 arialbi.ttf
2004-08-04 14:00 207 808 ariali.ttf
1998-11-12 16:39 134 200 ARIALN.TTF
1998-11-12 16:39 139 128 ARIALNB.TTF
1998-11-12 16:39 138 568 ARIALNBI.TTF
1998-11-12 16:39 141 408 ARIALNI.TTF
2002-11-18 17:44 23 275 812 ARIALUNI.TTF
2004-08-04 14:00 117 028 ariblk.ttf
1999-08-18 20:13 45 260 ARLRDBD.TTF
2004-08-04 14:00 84 600 artrbdo.ttf
2004-08-04 14:00 83 264 artro.ttf
13 fil(er) 25 313 160 byte
0 mappe(r) 12 030 013 440 byte ledig
C:\WINDOWS\Fonts>
Find the odd-looking file ;-) I replaced the line and now it reads:
text {ttf "arialuni.ttf" "AB\u00F8" 1, 0 pigment {Yellow}}
And my Norwegian character is now what it should be.
Thanky you "nomail" and Tim Attwood for pointing me in the right direction.
\knutt\
Post a reply to this message
|
![](/i/fill.gif) |