1*e6b30a3dSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*e6b30a3dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*e6b30a3dSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*e6b30a3dSAndrew Rist * distributed with this work for additional information 6*e6b30a3dSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*e6b30a3dSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*e6b30a3dSAndrew Rist * "License"); you may not use this file except in compliance 9*e6b30a3dSAndrew Rist * with the License. You may obtain a copy of the License at 10*e6b30a3dSAndrew Rist * 11*e6b30a3dSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*e6b30a3dSAndrew Rist * 13*e6b30a3dSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*e6b30a3dSAndrew Rist * software distributed under the License is distributed on an 15*e6b30a3dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e6b30a3dSAndrew Rist * KIND, either express or implied. See the License for the 17*e6b30a3dSAndrew Rist * specific language governing permissions and limitations 18*e6b30a3dSAndrew Rist * under the License. 19*e6b30a3dSAndrew Rist * 20*e6b30a3dSAndrew Rist *************************************************************/ 21*e6b30a3dSAndrew Rist 22*e6b30a3dSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _PSP_GSUB_H 25cdf0e10cSrcweir #define _PSP_GSUB_H 26cdf0e10cSrcweir 27cdf0e10cSrcweir namespace vcl 28cdf0e10cSrcweir { 29cdf0e10cSrcweir 30cdf0e10cSrcweir int HasVerticalGSUB( struct vcl::_TrueTypeFont* pTTFile ); 31cdf0e10cSrcweir 32cdf0e10cSrcweir int UseGSUB( struct vcl::_TrueTypeFont* pTTFile, int nGlyph, int wmode ); 33cdf0e10cSrcweir 34cdf0e10cSrcweir int ReadGSUB( struct vcl::_TrueTypeFont* pTTFile, int nRequestedScript, int nRequestedLangsys ); 35cdf0e10cSrcweir 36cdf0e10cSrcweir void ReleaseGSUB( struct vcl::_TrueTypeFont* pTTFile ); 37cdf0e10cSrcweir 38cdf0e10cSrcweir } 39cdf0e10cSrcweir 40cdf0e10cSrcweir #endif /* _PSP_GSUB_H */ 41