|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
"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?
you'll need a different font. when I use 'cyrvetic.ttf' I get a letter/glyph
(though, I suspect, not the one you're after).
regards, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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?
So, I get a capital I with a left-tilted ' and a larger size than the rest of
the font, when I use Times Regular.
I'm going to guess that you need to switch to a different font with the proper
utf glyphs in the character set.
You may or may not need to add charset utf8 to your global settings
It's all very confusing.
https://news.povray.org/povray.advanced-users/thread/%3Cweb.60e50c29d0fecd301f9dae3025979125%40news.povray.org%3E/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Give "Abhaya Libre" a try, WITH charset utf8 in the global settings.
https://www.fontsquirrel.com/fonts/download/abhaya-libre
https://www.fontsquirrel.com/fonts/list/language/spanish
Post a reply to this message
Attachments:
Download 'utf_problem.png' (7 KB)
Preview of image 'utf_problem.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> ...
> 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.
agree that the distribution fonts aren't "a good test". fwiw, two have some
usable/useful glyphs above 127, see attached.
regards, jr.
Post a reply to this message
Attachments:
Download 'povfonts.png' (104 KB)
Preview of image 'povfonts.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> agree that the distribution fonts aren't "a good test". fwiw, two have some
> usable/useful glyphs above 127, see attached.
>
>
> regards, jr.
clipka said that they're "borked".
jr's table macro would be a great addition to the scripts that render all the
illustrations for the distribution - in the insert menu, etc.
Going through all of the .fon, .ttf, files and checking to see if there's a
corresponding jpg, png, bmp, and then rendering the ones that don't would be a
nice way to allow periodic updating of the font/include directory as new fonts
are added. (date, time, font name, full path) It's def a good tool to help
unravel the complex morass which are fonts and how the different versions of
POV-Ray interpret them with/without the utf8 keyword.
(That would also be a good addition: side-by-side comparison of the same font
with & without the utf8 keyword)
It's also a great way to show someone the contents of a typeface file before
they decide to hunt it down and download/install it on their system.
The chili is definitely spicy.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"jr" <cre### [at] gmailcom> wrote:
>
> "Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> > ...
> > 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.
>
> agree that the distribution fonts aren't "a good test". fwiw, two have some
> usable/useful glyphs above 127, see attached.
They are usable, sure, but they do not correspond to standard character sets.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"tx2378" <tx2### [at] naranjaplatanocom> wrote:
> 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.
I mean, I'm certainly not saying you're wrong - but I would guess that with
POV-Ray's simplistic handling of all font-related stuff, it's probably going to
be the most true-to-file interpretation.
I seem to recall some issue with Windows falling back onto backup fonts for
missing glyphs in certain character sets.
Try taking a look at the font in the Windows Character Map, or better - a 3rd
party font file viewer like FontForge. Also maybe WordPad or Notepad.
Options:
clipka had mentioned being able to copy-paste a unicode character into the
POV-Ray text editor, and the parser would correctly identify and interpret that
without any other special treatment.
Cousin Ricky and I have manually converted the character definitions into Bezier
spline objects.
You could dissect the body of the i and the diacritical using masks / CSG and
define a custom made character as an object {}
Use just that character from another font that sufficiently resembles Times.
Use a browser or word processor and screenshot the correctly displayed text and
use that as an image_map billboard with a transparent background.
POV-Ray was really designed as a graphical raytracer, not as something that
handles a lot of text like a word processor.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |