質問する質問する
 

質問Glyphs OriginY meaning

  • 2009年5月13日 11:08Ilmslb ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hello,

    I am trying to figure out how to find the precise coordinates of the bounding rectangle of a Glyphs object.
    In Silverlight, I am trying to display a rectangle around a Glyphs object. The XAML is from a XPS generated with Microsoft XPS Document Writer

    OriginY does not seem to be the top nor bottom of text rectangle.
    OriginX however is OK.
    If I draw a horizontal line at the OriginY it seems that it's right at the bottom of the letters like 'a','b','c' which is fine but not for a character like 'y'. For character 'y' the line is crossing it in the middle.

    There is no RenderTransform specified so that's not the problem.

    For instance, I generated a XPS from a Word document with no margins. Looking in the generated XPS i see that OriginY for the Glyphs has a non zero value.

    Can anybody give a hint about how that coordinate is generated?


    Thanks.
    • 編集済みIlmslb 2009年5月13日 11:08
    •  

すべての返信