1. Worajedt Sitthidumrong
  2. Valentina Studio
  3. Четверг, Март 16 2017, 05:49 AM
  4.  Подписаться через email
Hi there
I've use VStudio Pro for a while. Usually with Thai locale and characters. Most of them work very well esp Thai sorting.

But one thing that really make report not quite correct is how it display the vowels characters incorrectly.

From the attached image, the left hand side is the report preview in HTML format. Look at the green arrow, the ligature feature (from unicode font) work correctly. it pull the vowel character down one level.

On another hands, the right hand side is the report preview in PDF format. The red arrow show the vowel character "float" incorrectly. And in some font, it just always pulled down and may overlaps with other vowels.

What I really looking for is to see the PDF preview work correctly like HTML one.

This problem is applied to embeded report tool (I tried with Xojo only)

Also, it should be the same problem if you test with other feature in some languages like "f + i --> fi" , "a+e --> ae"
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Worajedt,

Thank you for the samples.

Cairo graphics library is used for rendering.
Maybe there is an issue in it.
I'll try the latest version - in a case it is resolved, or report it if necessary.
Ссылки
  1. https://cairographics.org/
Комментарий
There are no comments made yet.
Worajedt Sitthidumrong Ответ принят
FYI, I'd like to add a preview for both fonts for you too.
Valentina Studio Pro 7.0.3 (Mac + macOS 10.12.3)
Вложения
Комментарий
There are no comments made yet.
Worajedt Sitthidumrong Ответ принят
Hi again.
I'm very sorry for my incomplete example previously. The different result from both fonts may be from "default" behavior of it. But at the end it should be display correctly, compare to what they behave in many software that can work with them.

I'm sure that the problem is still related to ligature features. Let me explain by this line. (You can copy and paste, easier than trying to type by yourself he he...)

ป่าปี่บ่มี่สิทธิ์ได้ลิ้มน้ำชั้นช้ากตัญญู


Then check with the image attached to make sure what it should be for both fonts.

Also, I've attached the way Thai character compose together. Then you can notice the same character (vowel) code may have many locations depends on what base character before it. Also, you can copy & paste this sample too.

บ่ บี่ ป่ ปี่ ธิ์ น้า น้ำ ญู


Thank you very much.!
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Thank you, my results are different for these fonts.

Angsana New - incorrect
TH Sarabun PSK - correct
Вложения
Комментарий
There are no comments made yet.
Worajedt Sitthidumrong Ответ принят
Hi Sergey

I'm on macOS 10.12.3 + Valentina Studio 7.0.3 + VSqlite (may note related)
In Thailand, fonts that widely used (almost call national fonts) are ..

  • Angsana New
  • TH Sarabun PSK

It can download freely (attached here to test). Garuda is from open source community, almost nobody use it on Win/Mac.
It's safety to test with both fonts above.

I'll test it on Win10 and Ubuntu Linux soon
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Worajedt,

Could you please add details - which OS are you using? And which font has this issue?

I tried to reproduce it with Garuda font on macOS, but I get the opposite result - in PDF it is correct, but not in the browser.
Вложения
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories