/usr/include/ossim/font/ossimFontFactoryBase.h is in libossim-dev 1.7.21-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//********************************************************************
// $Id: ossimFontFactoryBase.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimFontFactoryBase_HEADER
#define ossimFontFactoryBase_HEADER
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimFontInformation.h>
class ossimFont;
class ossimFontFactoryBase
{
public:
virtual ~ossimFontFactoryBase(){}
/*!
* Will find the best font for the passed in infromation.
* If none is found a default font should be returned.
*/
virtual ossimFont* createFont(const ossimFontInformation& information)const=0;
/*!
* Usually for trutype fonts but any font stored in a file it
* will try to create a font from it.
*/
virtual ossimFont* createFont(const ossimFilename& file)const=0;
virtual void getFontInformation(std::vector<ossimFontInformation>& informationList)const=0;
};
#endif
|