< prev index next >
src/java.desktop/share/native/libfreetype/src/autofit/afdummy.c
Print this page
*** 1,22 ****
! /***************************************************************************/
! /* */
! /* afdummy.c */
! /* */
! /* Auto-fitter dummy routines to be used if no hinting should be */
! /* performed (body). */
! /* */
! /* Copyright 2003-2018 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 */
! /* this file you indicate that you have read the license and */
! /* understand and accept it fully. */
! /* */
! /***************************************************************************/
#include "afdummy.h"
#include "afhints.h"
#include "aferrors.h"
--- 1,22 ----
! /****************************************************************************
! *
! * afdummy.c
! *
! * Auto-fitter dummy routines to be used if no hinting should be
! * performed (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
! * this file you indicate that you have read the license and
! * understand and accept it fully.
! *
! */
#include "afdummy.h"
#include "afhints.h"
#include "aferrors.h"
*** 38,52 ****
static FT_Error
af_dummy_hints_apply( FT_UInt glyph_index,
AF_GlyphHints hints,
! FT_Outline* outline )
{
FT_Error error;
FT_UNUSED( glyph_index );
error = af_glyph_hints_reload( hints, outline );
if ( !error )
af_glyph_hints_save( hints, outline );
--- 38,54 ----
static FT_Error
af_dummy_hints_apply( FT_UInt glyph_index,
AF_GlyphHints hints,
! FT_Outline* outline,
! AF_StyleMetrics metrics )
{
FT_Error error;
FT_UNUSED( glyph_index );
+ FT_UNUSED( metrics );
error = af_glyph_hints_reload( hints, outline );
if ( !error )
af_glyph_hints_save( hints, outline );
< prev index next >