POV-Ray : Newsgroups : povray.programming : bad display of utf8 code u00ed letter i-accute in times new roman : Re: bad display of utf8 code u00ed letter i-accute in times new roman Server Time
19 Apr 2024 08:51:09 EDT (-0400)
  Re: bad display of utf8 code u00ed letter i-accute in times new roman  
From: tx2378
Date: 1 Jan 2023 11:10:00
Message: <web.63b1b00c7ea93d73e265fd82f07cb7f1@news.povray.org>
"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> "tx2378" <tx2### [at] naranjaplatanocom> wrote:
> >
> > utf8 escape sequence "\u00ed" is bad displayed.
> >
> > See this text sentence:
> >
> > text{ttf "times" "El aj\u00ed estaba picante" 0 0 scale 100}
> >
> > How can I resolve this issue?
>
> First of all, if you aren't already using global_settings { charset utf8 }, you
> need to do so.
>
> But it seems that *none* of the lowercase i glyphs with diacriticals display
> properly, with most of the fonts I've tried.  The newer generation Microsoft
> fonts do work, though; try "cambria".
>
> N.B. to jr:  The fonts bundled with POV-Ray are all pure nonsense outside the
> 7-bit ASCII range.  They are not a good test of anything.

Hi;


reason, work with Times New Roman. Anyway issue is on POV Ray treatment of some
font families.
Try this on HTML:
<style>
@font-face {font-family:pot; src: url('file:///c:/windows/fonts/times.TTF')}
div {font-family:pot;font-size:300px}
</style>
<div>


And Then this, on POV Ray:
global_settings{charset utf8}
camera{location -1000*z look_at 0}
background{color rgb 1}
text{ttf "C:\windows\fonts\times.ttf" "Ah\u00ed" 0 0
     scale 700
     translate<-580,-200>}

On both I'm using times new roman from Windows 10. HTML works properly but on
POV Ray you'll see that diacritic is ahead from "i".

So I think issue is on POV Ray. I'm using (it's anoying work) a combination of
"i" without dot and a separate diacritic: \u0131 and \u02ca.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.