|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
This question has two parts:
The text (TheText) runs through a loop where all letters are checked like:
#local b=substr(TheText,I+1,1);
#if (strcmp(b," ")!=0)
Is that right? How could I circumvent this?
(I render text currently using TIMESBD.TTF. I will use another font anyway
later, but it hasn't to do anything with the font used for rendering.)
2. The same when I try to write the text in a text file with #write:
#write(fileHandle,
concat("rename \"vorlage 0001.png\" ",
TheText, ".png\"",
"\n")
)
Part 1 is much more important to me, as part 2 I can easily handle with a
workaround.
Greetings
DH =)
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: Use of characters like =FC,=E4,=F6
Date: 3 Jun 2010 12:11:33
Message: <4c07d435@news.povray.org>
|
|
|
| |
| |
|
|
On 03.06.10 17:57, DH0909 wrote:
> Hi!
> This question has two parts:
> The text (TheText) runs through a loop where all letters are checked like:
> #local b=substr(TheText,I+1,1);
> #if (strcmp(b," ")!=0)
>
> Is that right? How could I circumvent this?
> (I render text currently using TIMESBD.TTF. I will use another font anyway
> later, but it hasn't to do anything with the font used for rendering.)
You need to read the documentation or search the newsgroups before posting.
This question has been answered dozens of times. You need to set the charset.
For example, see this thread:
From: "Silverlight2009" <nomail@nomail>
Date: Wed, 7 Apr 2010 11:26:17 EDT
Newsgroups: povray.newusers
Message-ID: <web.4bbca419deecc5cc5371ddf10@news.povray.org>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 06/03/2010 01:11 PM, Thorsten Froehlich wrote:
> You need to read the documentation or search the newsgroups before
> posting. This question has been answered dozens of times. You need to
> set the charset.
now you can just point them here:
http://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_32
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Hi!
> This question has two parts:
> The text (TheText) runs through a loop where all letters are checked like:
> #local b=substr(TheText,I+1,1);
> #if (strcmp(b," ")!=0)
>
> Is that right? How could I circumvent this?
> (I render text currently using TIMESBD.TTF. I will use another font anyway
> later, but it hasn't to do anything with the font used for rendering.)
>
> 2. The same when I try to write the text in a text file with #write:
> #write(fileHandle,
> concat("rename \"vorlage 0001.png\" ",
> TheText, ".png\"",
> "\n")
> )
>
>
> Part 1 is much more important to me, as part 2 I can easily handle with a
> workaround.
>
> Greetings
> DH =)
>
>
Add:
global_settings{charset utf8}
Then use "\u00fc", "\u00e4" or "\u00f6" in your strings.
Alain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you for the helpful answers.
Greetings
DH
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain <aze### [at] qwertyorg> wrote:
> Add:
> global_settings{charset utf8}
> Then use "\u00fc", "\u00e4" or "\u00f6" in your strings.
>
>
> Alain
Ty! =)
Is there any sense nowadays not to use utf8? Are there any possible
disadvanteges when using utf8?
Greetings
DH
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 06/03/2010 01:11 PM, Thorsten Froehlich wrote:
> > You need to read the documentation or search the newsgroups before
> > posting. This question has been answered dozens of times. You need to
> > set the charset.
>
> now you can just point them here:
> http://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_32
I care :P
No need to remove it.
Greetings =)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Alain<aze### [at] qwertyorg> wrote:
>> Add:
>> global_settings{charset utf8}
>> Then use "\u00fc", "\u00e4" or "\u00f6" in your strings.
>>
>>
>> Alain
>
>
> Ty! =)
>
> Is there any sense nowadays not to use utf8? Are there any possible
> disadvanteges when using utf8?
>
> Greetings
> DH
>
>
There are no disavantage to use utf8, but, unless you actualy use text
object or use some other text output, there is no point in using it.
It could be interesting that future versions default to utf8 charset.
Alain
Post a reply to this message
|
|
| |
| |
|
|
From: Jim Holsenback
Subject: Re: Use of characters like =3DFC,=3DE4,=3DF6
Date: 4 Jun 2010 16:52:20
Message: <4c096784@news.povray.org>
|
|
|
| |
| |
|
|
On 06/04/2010 09:10 AM, DH0909 wrote:
> No need to remove it.
ha-ha ... guess i had second thoughts about it being necessary
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |