|
Packit |
2bba5f |
/*
|
|
Packit |
2bba5f |
Copyright (c) 1998-2001 by Juliusz Chroboczek
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
Packit |
2bba5f |
of this software and associated documentation files (the "Software"), to deal
|
|
Packit |
2bba5f |
in the Software without restriction, including without limitation the rights
|
|
Packit |
2bba5f |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
Packit |
2bba5f |
copies of the Software, and to permit persons to whom the Software is
|
|
Packit |
2bba5f |
furnished to do so, subject to the following conditions:
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
The above copyright notice and this permission notice shall be included in
|
|
Packit |
2bba5f |
all copies or substantial portions of the Software.
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
Packit |
2bba5f |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
Packit |
2bba5f |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
Packit |
2bba5f |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
Packit |
2bba5f |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
Packit |
2bba5f |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
Packit |
2bba5f |
THE SOFTWARE.
|
|
Packit |
2bba5f |
*/
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
/* Private types and functions for the encoding code. */
|
|
Packit |
2bba5f |
/* Used by the files `fontenc.h' and `encparse.h' */
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
typedef struct _FontEncSimpleMap {
|
|
Packit |
2bba5f |
unsigned len; /* might be 0x10000 */
|
|
Packit |
2bba5f |
unsigned short row_size;
|
|
Packit |
2bba5f |
unsigned short first;
|
|
Packit |
2bba5f |
const unsigned short *map;
|
|
Packit |
2bba5f |
} FontEncSimpleMapRec, *FontEncSimpleMapPtr;
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
typedef struct _FontEncSimpleName {
|
|
Packit |
2bba5f |
unsigned len;
|
|
Packit |
2bba5f |
unsigned short first;
|
|
Packit |
2bba5f |
char **map;
|
|
Packit |
2bba5f |
} FontEncSimpleNameRec, *FontEncSimpleNamePtr;
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
unsigned FontEncSimpleRecode(unsigned, void *);
|
|
Packit |
2bba5f |
unsigned FontEncUndefinedRecode(unsigned, void *);
|
|
Packit |
2bba5f |
char *FontEncSimpleName(unsigned, void *);
|
|
Packit |
2bba5f |
char *FontEncUndefinedName(unsigned, void *);
|
|
Packit |
2bba5f |
|
|
Packit |
2bba5f |
FontEncPtr FontEncReallyLoad(const char *, const char *);
|