< prev index next >

src/java.desktop/share/native/libfreetype/src/autofit/aflatin.c

Print this page

        

*** 2,12 **** * * aflatin.c * * Auto-fitter hinting routines for latin writing system (body). * ! * Copyright (C) 2003-2019 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, * modified, and distributed under the terms of the FreeType project * license, LICENSE.TXT. By continuing to use, modify, or distribute --- 2,12 ---- * * aflatin.c * * Auto-fitter hinting routines for latin writing system (body). * ! * Copyright (C) 2003-2020 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, * modified, and distributed under the terms of the FreeType project * license, LICENSE.TXT. By continuing to use, modify, or distribute
*** 1908,1918 **** /* now slightly increase the height of segments if this makes */ /* sense -- this is used to better detect and ignore serifs */ { AF_Segment segments = axis->segments; ! AF_Segment segments_end = segments + axis->num_segments; for ( segment = segments; segment < segments_end; segment++ ) { AF_Point first = segment->first; --- 1908,1918 ---- /* now slightly increase the height of segments if this makes */ /* sense -- this is used to better detect and ignore serifs */ { AF_Segment segments = axis->segments; ! AF_Segment segments_end = FT_OFFSET( segments, axis->num_segments ); for ( segment = segments; segment < segments_end; segment++ ) { AF_Point first = segment->first;
*** 2312,2322 **** * segment directly in the code above slows down execution speed for * some reasons on platforms like the Sun. */ { AF_Edge edges = axis->edges; ! AF_Edge edge_limit = edges + axis->num_edges; AF_Edge edge; for ( edge = edges; edge < edge_limit; edge++ ) { --- 2312,2322 ---- * segment directly in the code above slows down execution speed for * some reasons on platforms like the Sun. */ { AF_Edge edges = axis->edges; ! AF_Edge edge_limit = FT_OFFSET( edges, axis->num_edges ); AF_Edge edge; for ( edge = edges; edge < edge_limit; edge++ ) {
< prev index next >