Author: jimtabor Date: Fri Oct 31 13:56:23 2008 New Revision: 37113
URL: http://svn.reactos.org/svn/reactos?rev=37113&view=rev Log: - Update realization information and copyright notice for freetype.c.
Modified: trunk/reactos/include/reactos/win32k/ntgdihdl.h trunk/reactos/include/reactos/win32k/ntgdityp.h trunk/reactos/subsystems/win32/win32k/include/gdiobj.h trunk/reactos/subsystems/win32/win32k/objects/freetype.c
Modified: trunk/reactos/include/reactos/win32k/ntgdihdl.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntgd... ============================================================================== --- trunk/reactos/include/reactos/win32k/ntgdihdl.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/win32k/ntgdihdl.h [iso-8859-1] Fri Oct 31 13:56:23 2008 @@ -230,7 +230,7 @@ FLONG flDeviceUniq; // Device settings uniqueness. PVOID pvLangPack; // Lanuage Pack. CFONT cfPublic[GDI_CFONT_MAX]; // Public Fonts. - DWORD dwCsbSupported1; // OEM code-page bitfield. + DWORD dwCFCount; } GDI_SHARED_HANDLE_TABLE, *PGDI_SHARED_HANDLE_TABLE;
typedef struct _RGN_ATTR
Modified: trunk/reactos/include/reactos/win32k/ntgdityp.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntgd... ============================================================================== --- trunk/reactos/include/reactos/win32k/ntgdityp.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/win32k/ntgdityp.h [iso-8859-1] Fri Oct 31 13:56:23 2008 @@ -231,10 +231,15 @@ ULONG Index; } UNIVERSAL_FONT_ID, *PUNIVERSAL_FONT_ID;
-typedef struct _REALIZATION_INFO // Based on LOCALESIGNATURE -{ - DWORD dwCsbDefault[2]; - DWORD dwCsbSupported0; +#define RI_TECH_BITMAP 1 +#define RI_TECH_FIXED 2 +#define RI_TECH_SCALABLE 3 + +typedef struct _REALIZATION_INFO +{ + DWORD iTechnology; + DWORD iUniq; + DWORD dwUnknown; } REALIZATION_INFO, *PREALIZATION_INFO;
typedef struct _WIDTHDATA @@ -402,7 +407,10 @@ USHORT sWidth[256]; // Widths in pels. ULONG ulAveWidth; // bogus average used by USER TMW_INTERNAL tmw; // cached metrics - LOCALESIGNATURE lsLocSig; // font signature information + DWORD iTechnology; + DWORD iUniq; + DWORD dwUnknown; + DWORD dwCFCount; } CFONT, *PCFONT;
//
Modified: trunk/reactos/subsystems/win32/win32k/include/gdiobj.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/inc... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/gdiobj.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/gdiobj.h [iso-8859-1] Fri Oct 31 13:56:23 2008 @@ -21,7 +21,7 @@ FLONG flDeviceUniq; // Device settings uniqueness. PVOID pvLangPack; // Language Pack. CFONT cfPublic[GDI_CFONT_MAX]; // Public Fonts. - DWORD dwCsbSupported1; // OEM code-page bitfield. + DWORD dwCFCount; ////////////////////////////////////////////////////////////////////////////// PPAGED_LOOKASIDE_LIST LookasideLists;
Modified: trunk/reactos/subsystems/win32/win32k/objects/freetype.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/obj... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/freetype.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/objects/freetype.c [iso-8859-1] Fri Oct 31 13:56:23 2008 @@ -1,3 +1,30 @@ +/* + * FreeType font engine interface + * + * Copyright 2001 Huw D M Davies for CodeWeavers. + * Copyright 2006 Dmitry Timoshkov for CodeWeavers. + * + * This file contains the WineEng* functions. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +/* + * + * Addaped for the use in ReactOS. + * + */ /* * PROJECT: ReactOS win32 kernel mode subsystem * LICENSE: GPL - See COPYING in the top level directory