/**************************************************************************** * * ftsynth.c * * FreeType synthesizing code for emboldening and slanting (body). * * Copyright (C) 2000-2023 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 <freetype/ftsynth.h> #include <freetype/internal/ftdebug.h> #include <freetype/internal/ftobjs.h> #include <freetype/ftoutln.h> #include <freetype/ftbitmap.h> /************************************************************************** * * The macro FT_COMPONENT is used in trace mode. It is an implicit * parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log * messages during execution. */ #undef FT_COMPONENT #define FT_COMPONENT … /*************************************************************************/ /*************************************************************************/ /**** ****/ /**** EXPERIMENTAL OBLIQUING SUPPORT ****/ /**** ****/ /*************************************************************************/ /*************************************************************************/ /* documentation is in ftsynth.h */ FT_EXPORT_DEF( void ) FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) { … } /* documentation is in ftsynth.h */ FT_EXPORT_DEF( void ) FT_GlyphSlot_Slant( FT_GlyphSlot slot, FT_Fixed xslant, FT_Fixed yslant ) { … } /*************************************************************************/ /*************************************************************************/ /**** ****/ /**** EXPERIMENTAL EMBOLDENING SUPPORT ****/ /**** ****/ /*************************************************************************/ /*************************************************************************/ /* documentation is in ftsynth.h */ FT_EXPORT_DEF( void ) FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) { … } FT_EXPORT_DEF( void ) FT_GlyphSlot_AdjustWeight( FT_GlyphSlot slot, FT_Fixed xdelta, FT_Fixed ydelta ) { … } /* END */