/* * Class FontByName is a sublcass of InterViews font that provides an * additional public constructor to create a font by a "common" name rather * than the full, cryptic X11 name. Specifically, the new constructor takes * the following parameters: * * PARM EXAMPLES * ============================================================ * family times, helvetica, courier * weight medium, bold * slant r(oman), o(blique), i(talic) * size 9, 24 * */ #include class FontByName : public Font { public: FontByName(char* family, char* weight, char* slant, int size); protected: char* DoIt(char* family, char* weight, char* slant, int size); };