1. Worajedt Sitthidumrong
  2. Valentina Studio
  3. Thursday, March 16 2017, 05:49 AM
  4.  Subscribe via 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"
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
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.
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 1
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
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 2
Sergey Pashkov Accepted Answer
Thank you, my results are different for these fonts.

Angsana New - incorrect
TH Sarabun PSK - correct
Attachments (2)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 3
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.!
Attachments (3)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 4
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)
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 5
Sergey Pashkov Accepted Answer
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.
References
  1. https://cairographics.org/
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 6
  • Page :
  • 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