mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23872 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
027563eec2
commit
2b91a5acbe
@ -69,45 +69,16 @@ struct SymbolFont {
|
|||||||
};
|
};
|
||||||
|
|
||||||
SymbolFont symbol_fonts[] = {
|
SymbolFont symbol_fonts[] = {
|
||||||
{ SYMBOL_FAMILY,
|
{ SYMBOL_FAMILY,"symbol", "-*-symbol-*-*-*-*-*-*-*-*-*-*-adobe-fontspecific"},
|
||||||
"symbol",
|
{ CMR_FAMILY, "cmr10", "-*-cmr10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
"-*-symbol-*-*-*-*-*-*-*-*-*-*-adobe-fontspecific" },
|
{ CMSY_FAMILY, "cmsy10", "-*-cmsy10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
|
{ CMM_FAMILY, "cmmi10", "-*-cmmi10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
{ CMR_FAMILY,
|
{ CMEX_FAMILY, "cmex10", "-*-cmex10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
"cmr10",
|
{ MSA_FAMILY, "msam10", "-*-msam10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
"-*-cmr10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
{ MSB_FAMILY, "msbm10", "-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
|
{ EUFRAK_FAMILY,"eufm10", "-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
{ CMSY_FAMILY,
|
{ WASY_FAMILY, "wasy10", "-*-wasy10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
||||||
"cmsy10",
|
{ ESINT_FAMILY, "esint10","-*-esint10-medium-*-*-*-*-*-*-*-*-*-*-*" }
|
||||||
"-*-cmsy10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ CMM_FAMILY,
|
|
||||||
"cmmi10",
|
|
||||||
"-*-cmmi10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ CMEX_FAMILY,
|
|
||||||
"cmex10",
|
|
||||||
"-*-cmex10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ MSA_FAMILY,
|
|
||||||
"msam10",
|
|
||||||
"-*-msam10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ MSB_FAMILY,
|
|
||||||
"msbm10",
|
|
||||||
"-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ EUFRAK_FAMILY,
|
|
||||||
"eufm10",
|
|
||||||
"-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ WASY_FAMILY,
|
|
||||||
"wasy10",
|
|
||||||
"-*-wasy10-medium-*-*-*-*-*-*-*-*-*-*-*" },
|
|
||||||
|
|
||||||
{ ESINT_FAMILY,
|
|
||||||
"esint10",
|
|
||||||
"-*-esint10-medium-*-*-*-*-*-*-*-*-*-*-*" }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t const nr_symbol_fonts = sizeof(symbol_fonts) / sizeof(symbol_fonts[0]);
|
size_t const nr_symbol_fonts = sizeof(symbol_fonts) / sizeof(symbol_fonts[0]);
|
||||||
@ -250,14 +221,13 @@ FontLoader::FontLoader()
|
|||||||
|
|
||||||
void FontLoader::update()
|
void FontLoader::update()
|
||||||
{
|
{
|
||||||
for (int i1 = 0; i1 < NUM_FAMILIES; ++i1) {
|
for (int i1 = 0; i1 < NUM_FAMILIES; ++i1)
|
||||||
for (int i2 = 0; i2 < 2; ++i2)
|
for (int i2 = 0; i2 < 2; ++i2)
|
||||||
for (int i3 = 0; i3 < 4; ++i3)
|
for (int i3 = 0; i3 < 4; ++i3)
|
||||||
for (int i4 = 0; i4 < 10; ++i4) {
|
for (int i4 = 0; i4 < 10; ++i4) {
|
||||||
delete fontinfo_[i1][i2][i3][i4];
|
delete fontinfo_[i1][i2][i3][i4];
|
||||||
fontinfo_[i1][i2][i3][i4] = 0;
|
fontinfo_[i1][i2][i3][i4] = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user