aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-11-12 08:23:41 +0100
committerLars Ingebrigtsen2021-11-12 08:23:45 +0100
commit0c3bf6ce110eeaaf9dbb265b31598b837a257937 (patch)
tree3b6013f3ce2197b27ef49cac669785f0a1ddb256 /src
parente9a68b1de5a4526427a5abf43f31ec8fe4e64956 (diff)
downloademacs-0c3bf6ce110eeaaf9dbb265b31598b837a257937.tar.gz
emacs-0c3bf6ce110eeaaf9dbb265b31598b837a257937.zip
Remove unused xlfd_ enums
* src/xfaces.c: Remove xlfd_weight, xlfd_swidth and xlfd_slant enums. These seem to be unused in the Emacs sources.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index a8cbf347904..442fcf47d3d 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -1416,52 +1416,6 @@ enum xlfd_field
1416 XLFD_LAST 1416 XLFD_LAST
1417}; 1417};
1418 1418
1419/* An enumerator for each possible slant value of a font. Taken from
1420 the XLFD specification. */
1421
1422enum xlfd_slant
1423{
1424 XLFD_SLANT_UNKNOWN,
1425 XLFD_SLANT_ROMAN,
1426 XLFD_SLANT_ITALIC,
1427 XLFD_SLANT_OBLIQUE,
1428 XLFD_SLANT_REVERSE_ITALIC,
1429 XLFD_SLANT_REVERSE_OBLIQUE,
1430 XLFD_SLANT_OTHER
1431};
1432
1433/* Relative font weight according to XLFD documentation. */
1434
1435enum xlfd_weight
1436{
1437 XLFD_WEIGHT_UNKNOWN,
1438 XLFD_WEIGHT_ULTRA_LIGHT, /* 10 */
1439 XLFD_WEIGHT_EXTRA_LIGHT, /* 20 */
1440 XLFD_WEIGHT_LIGHT, /* 30 */
1441 XLFD_WEIGHT_SEMI_LIGHT, /* 40: SemiLight, Book, ... */
1442 XLFD_WEIGHT_MEDIUM, /* 50: Medium, Normal, Regular, ... */
1443 XLFD_WEIGHT_SEMI_BOLD, /* 60: SemiBold, DemiBold, ... */
1444 XLFD_WEIGHT_BOLD, /* 70: Bold, ... */
1445 XLFD_WEIGHT_EXTRA_BOLD, /* 80: ExtraBold, Heavy, ... */
1446 XLFD_WEIGHT_ULTRA_BOLD /* 90: UltraBold, Black, ... */
1447};
1448
1449/* Relative proportionate width. */
1450
1451enum xlfd_swidth
1452{
1453 XLFD_SWIDTH_UNKNOWN,
1454 XLFD_SWIDTH_ULTRA_CONDENSED, /* 10 */
1455 XLFD_SWIDTH_EXTRA_CONDENSED, /* 20 */
1456 XLFD_SWIDTH_CONDENSED, /* 30: Condensed, Narrow, Compressed, ... */
1457 XLFD_SWIDTH_SEMI_CONDENSED, /* 40: semicondensed */
1458 XLFD_SWIDTH_MEDIUM, /* 50: Medium, Normal, Regular, ... */
1459 XLFD_SWIDTH_SEMI_EXPANDED, /* 60: SemiExpanded, DemiExpanded, ... */
1460 XLFD_SWIDTH_EXPANDED, /* 70: Expanded... */
1461 XLFD_SWIDTH_EXTRA_EXPANDED, /* 80: ExtraExpanded, Wide... */
1462 XLFD_SWIDTH_ULTRA_EXPANDED /* 90: UltraExpanded... */
1463};
1464
1465/* Order by which font selection chooses fonts. The default values 1419/* Order by which font selection chooses fonts. The default values
1466 mean `first, find a best match for the font width, then for the 1420 mean `first, find a best match for the font width, then for the
1467 font height, then for weight, then for slant.' This variable can be 1421 font height, then for weight, then for slant.' This variable can be