FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
TextEditorFont.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
20class TextEditor;
22
24{
25private:
26 static CStringW const m_ksSHXExtension;
27
28public:
29 TextEditorFont( CStringW const &, CStringW const &, CStringW const &);
30 TextEditorFont( CStringW const &,int);
34 bool alphanum_symbol_TTF(void)const ;
35 bool isSymbol(void)const ;
36 bool loaded_bigfont(void)const ;
37 bool loaded_shapefile(void)const ;
38 bool loaded_truetype(void)const ;
39 bool loaded_unifont(void)const ;
40 bool supports_character(wchar_t, TextEditor *)const ;
42 bool supports_language(unsigned short, TextEditor *)const ;
43 bool supports_language(unsigned short, TextEditorCharAttributes const &, TextEditor *)const ;
44 bool trueType(void)const ;
45 bool vertical_TTF(void)const ;
48 CStringW const & bigFontFile(void)const ;
49 CStringW const & fontFile(void)const ;
50 CStringW const & fontName(void)const ;
52 int charSetForLanguage(unsigned short)const ;
53 int pitchAndFamily(void)const ;
55 static bool __cdecl TTF_info(wchar_t const *, CStringW &,int &);
56 static CStringW __cdecl TTF_english_name(wchar_t const *);
57 static CStringW __cdecl TTF_file_name(wchar_t const *,bool,bool);
58 static CStringW __cdecl TTF_native_name(wchar_t const *);
59 static CStringW const __cdecl SHX_ext(void);
60 static int __cdecl TTF_charset(wchar_t const *);
61 unsigned short language(unsigned short)const ;
63 void load( TextEditorCharAttributes const &, TextEditor *)const ;
64
65private:
66 int charSetFromTTF(void)const ;
67
68};
~TextEditorFont(void)
bool loaded_shapefile(void) const
static CStringW __cdecl TTF_file_name(wchar_t const *, bool, bool)
static int __cdecl TTF_charset(wchar_t const *)
static bool __cdecl TTF_info(wchar_t const *, CStringW &, int &)
bool loaded_bigfont(void) const
bool supports_language(unsigned short, TextEditor *) const
void load(TextEditorCharAttributes const &, TextEditor *)
CStringW const & fontName(void) const
TextEditorFont(void)
static CStringW const __cdecl SHX_ext(void)
TextEditorFont(TextEditorFont const &)
bool loaded_unifont(void) const
CStringW bigFontFileNoExt(void) const
bool loaded_truetype(void) const
static CStringW __cdecl TTF_english_name(wchar_t const *)
bool supports_language(unsigned short, TextEditorCharAttributes const &, TextEditor *) const
CStringW const & fontFile(void) const
short loaded_bigfont_codepage_index(void) const
unsigned short language(unsigned short) const
bool isSymbol(void) const
bool vertical_TTF(void) const
TextEditorFont(CStringW const &, CStringW const &, CStringW const &)
CStringW const & bigFontFile(void) const
TextEditorFont & operator=(TextEditorFont const &)
bool supports_character(wchar_t, TextEditor *) const
int charSetForLanguage(unsigned short) const
TextEditorFont(CStringW const &, int)
bool trueType(void) const
bool alphanum_symbol_TTF(void) const
static CStringW __cdecl TTF_native_name(wchar_t const *)
void load(TextEditorCharAttributes const &, TextEditor *) const
CStringW fontFileNoExt(void) const
int pitchAndFamily(void) const
bool supports_character(wchar_t, TextEditorCharAttributes const &, TextEditor *) const