Ignore:
Timestamp:
Apr 12, 2009, 10:25:05 AM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: freetype library updated to version 2.3.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/freetype2/src/base/ftadvanc.c

    r262 r269  
    55/*    Quick computation of advance widths (body).                          */
    66/*                                                                         */
    7 /*  Copyright 2008 by                                                      */
     7/*  Copyright 2008, 2009 by                                                */
    88/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    99/*                                                                         */
     
    4343      scale = face->size->metrics.x_scale;
    4444
    45     /* this must be the same computation as to get linearHori/VertAdvance */
    46     /* (see `FT_Load_Glyph' implementation in src/base/ftobjs.c           */
     45    /* this must be the same scaling as to get linear{Hori,Vert}Advance */
     46    /* (see `FT_Load_Glyph' implementation in src/base/ftobjs.c)        */
    4747
    4848    for ( nn = 0; nn < count; nn++ )
     
    149149
    150150      padvances[nn] = ( flags & FT_LOAD_VERTICAL_LAYOUT )
    151                       ? face->glyph->advance.x
    152                       : face->glyph->advance.y;
     151                      ? face->glyph->advance.y
     152                      : face->glyph->advance.x;
    153153    }
    154154
Note: See TracChangeset for help on using the changeset viewer.