[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Vertical Font, X Bearing
From: |
Paresh Deshmukh |
Subject: |
[ft] Vertical Font, X Bearing |
Date: |
Fri, 26 May 2006 13:11:56 UT |
Hi,
I don't know whether its a bug with freetype or my approch for vertical font
layout is wrong.
I am code given with tutorial-1. Only change is line
"FT_Load_Char( face, text[n], FT_LOAD_VERTICAL_LAYOUT | FT_LOAD_RENDER);"
Out put is as follows.
For char A:
slot->bitmap_left 301
slot->bitmap_top 314
slot->advance.x 0
slot->advance.y 3200
For char b:
slot->bitmap_left 302
slot->bitmap_top 266
slot->advance.x 0
slot->advance.y 3200
For char g:
slot->bitmap_left 304
slot->bitmap_top 203
slot->advance.x 0
slot->advance.y 3200
For char q:
slot->bitmap_left 303
slot->bitmap_top 153
slot->advance.x 0
slot->advance.y 3200
For char R:
slot->bitmap_left 302
slot->bitmap_top 114
slot->advance.x 0
slot->advance.y 3200
Please tell me why I am getting +ve X bearing for vertical font with angle zero.
Other Info:
Freetype 2.2.1
font file: msmincho.ttc
Thanks & Regards
Paresh
- [ft] Vertical Font, X Bearing,
Paresh Deshmukh <=