FireBirdLib - Topfield TMS PVR TAP Programming Library
FMUC_IsDiacriticalMark.c
Go to the documentation of this file.
1
#include "
FBLib_FontManager.h
"
2
3
bool
FMUC_IsDiacriticalMark
(dword Character)
4
{
5
TRACEENTER
();
6
7
dword Diacricital[] = {0x00a8, 0x00b4, 0x00b8, 0x0384, 0x0385, 0x0e31};
8
dword i;
9
10
if
((Character >= 0x0300) && (Character <= 0x036f))
11
{
12
TRACEEXIT
();
13
return
TRUE;
14
}
15
16
if
((Character >= 0x0e34) && (Character <= 0x0e3a))
17
{
18
TRACEEXIT
();
19
return
TRUE;
20
}
21
22
if
((Character >= 0x0e47) && (Character <= 0x0e4e))
23
{
24
TRACEEXIT
();
25
return
TRUE;
26
}
27
28
29
for
(i = 0; i < 6; i++)
30
if
(Character == Diacricital[i])
31
{
32
TRACEEXIT
();
33
return
TRUE;
34
}
35
36
TRACEEXIT
();
37
return
FALSE;
38
}
FBLib_FontManager.h
FMUC_IsDiacriticalMark
bool FMUC_IsDiacriticalMark(dword Character)
Definition:
FMUC_IsDiacriticalMark.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
FontManager
FMUC_IsDiacriticalMark.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3