X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffreetype.cc;h=1f5d834c1a192d12633d4db42b210a871e4354b8;hb=a64a249d392abb438c598c319ea544fb23d626ca;hp=1c0715e7c4193bf5746af217a2212293d9fb16db;hpb=744614ec4497e540fbaa6ad9bf6e842f4b99442a;p=lilypond.git diff --git a/lily/freetype.cc b/lily/freetype.cc index 1c0715e7c4..1f5d834c1a 100644 --- a/lily/freetype.cc +++ b/lily/freetype.cc @@ -1,9 +1,20 @@ /* - freetype.cc -- implement Freetype routines. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2010 Han-Wen Nienhuys - (c) 2004--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "freetype.hh" @@ -14,8 +25,8 @@ FT_Library freetype2_library; void init_freetype () { - int errorcode = FT_Init_FreeType (&freetype2_library); + FT_Error errorcode = FT_Init_FreeType (&freetype2_library); if (errorcode) - error (cannot initialize FreeType"); + error ("cannot initialize FreeType"); }