Commit Graph

30 Commits

Author SHA1 Message Date
Kornel Benko
59cabde9e3 Tools(listFontWithLang.pl): Only Haramo.*Gothic fonts are sans serif
(Harano.*Mincho are serif fonts, so don't treat them as 'sans')
2022-01-31 13:43:37 +01:00
Kornel Benko
a45f539bb5 Tools(listFontWithLang.pl): Handle also fonts provided by lyx
These fonts are normally not handled by fontconfig
2020-09-03 11:49:58 +02:00
Kornel Benko
74e37a4791 Tools(listFontWithLang.pl): Amend 99508630, polish also the style 2020-08-29 15:26:58 +02:00
Kornel Benko
9950863058 Tools(listFontWithLang.pl): Polishing the display of font names.
Also always display the foundry
2020-08-24 13:48:41 +02:00
Kornel Benko
be4f5c8084 Amend 3dccce14: Tools(listFontWithLang.pl): Ignore white space while checking font name
Do not manipulate search strings which already contain regex elements.
2020-08-23 08:21:53 +02:00
Kornel Benko
3dccce1411 Tools(listFontWithLang.pl): Ignore white space while checking font name
This allows for instance to find 'Deja Vu' also if searching for 'dejavu'
2020-08-22 16:20:22 +02:00
Kornel Benko
a1713d9d35 Tools(listFontWithLang.pl): Correct types of lohit fonts 2020-07-31 16:27:48 +02:00
Kornel Benko
3a606cae22 Tools(listFontWithLang.pl): Add option to write to a file
The content is meant to be input to other commands to display
the fonts.
2020-06-29 12:30:56 +02:00
Kornel Benko
7cb50d7008 Tools(listFontWithLang.pl): Added type for small capitals. 2020-06-25 11:19:38 +02:00
Kornel Benko
95eccf0c53 Tools(listFontWithLang.pl): more changes
Normalized some style names (e.g. cond -> condensed)
Handle some forgotten fonts (for sure there are more)
Routine getval() tries to get the same language entry for fullname, family and style if possible.
Added some more exceptions (for instance not all fonts with 'symbol' in name contain symbols)
Split family- and style words at case-change (lower to upper case) to identify shortcuts for styles.
2020-06-21 11:43:35 +02:00
Kornel Benko
e2309c6ea5 Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b' 2020-06-17 18:06:54 +02:00
Kornel Benko
8d84a4d7ab Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a' 2020-06-17 14:44:27 +02:00
Kornel Benko
0d84f0b9fd Tools(listFontWithLang.pl): Change the building of fontname.
A try to combine the style info and family into the font-name in such a way,
that the features are not doubled.
2020-06-17 00:24:21 +02:00
Kornel Benko
9cec35697a Tools(listFontWithLang.pl): Enable list of font features
Font-type can contain more than one feature (e.g. Initials + Serif)
therefore it is now a combination of featrures.
2020-06-15 10:27:17 +02:00
Kornel Benko
824be29341 Tools(listFontWithLang.pl): Add new category for double stroke fonts 2020-06-11 19:10:56 +02:00
Kornel Benko
e86e1da154 Tools(listFontWithLang.pl): New option, typo, categorisation
1.) With option --nc we can select fonts not including these glyphs
2.) Typo NSpripts -> NScripts
3.) corrected categorisation of some fonts not including latin chars
2020-06-03 20:22:19 +02:00
Kornel Benko
eec1bf80e0 Tools(listFontWithLang.pl): A try to categorize culmus an lyx fonts 2020-06-03 12:39:10 +02:00
Kornel Benko
26788fdd9f Tools(listFontWithLang.pl): Remove padmaa from sans-list, it is serif font
Also display intervalls of character sets (unicode points)
2020-05-30 14:29:39 +02:00
Kornel Benko
580057bef7 Tools(listFontWithLang.pl): Polishing 2020-05-21 11:50:42 +02:00
Kornel Benko
f7ad823cb8 Tools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs
Allow to specify also intervalls of charaters
	e.g. -c a-z,u+70-u+200
2020-05-20 12:38:30 +02:00
Kornel Benko
58dfb1d825 Tools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs
Allow also values like
	-c Azß
or
	-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)
2020-05-19 09:02:56 +02:00
Kornel Benko
ac03973309 Tools(listFontWithLang.pl): Select fonts containig specified glyphs
Comma separated glyphs can be specifies as characters or as unicode-values
example:
	-c A,z,ß
or
	-c u+65,z,u+xdf
2020-05-18 18:21:25 +02:00
Kornel Benko
5f3541454c Tools(listFontWithLang.pl): update fonts-categorization 2020-05-17 15:12:05 +02:00
Kornel Benko
36deaaac26 Tools(listFontWithLang.pl): Group related parameters in the command syntax
Display sequence of command parameters according to their appearance in the definition table
2020-05-16 21:40:26 +02:00
Kornel Benko
d4b64d81fe Tools: try to categorize fonts in listFontWithLang.pl
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
2020-05-14 17:35:51 +02:00
Kornel Benko
1bda6da7f9 Tools: recognize most sans serif fonts in listFontWithLang.pl
Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)
2020-05-12 19:53:28 +02:00
Kornel Benko
3eb56006b5 Tools: recognize math font in listFontWithLang.pl 2020-05-09 13:19:12 +02:00
Kornel Benko
8918d5287b Tools: optimize recognition of some font features in listFontWithLang.pl
Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font
2020-05-08 14:17:19 +02:00
Kornel Benko
63ce605b83 Try to set executable bit on listFontWithLang.pl 2020-05-03 12:54:14 +02:00
Kornel Benko
b55f735afe Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools 2020-05-02 13:40:26 +02:00