12 "style_mobile_additions.css.php",
13 "theme_tweaker.css.php",
14 "theme-brutalist.css.php",
15 "theme-classic.css.php",
16 "theme-default.css.php",
20 "theme-ultramodern.css.php",
26 "src/data-viewers/comment.lisp",
27 "src/data-viewers/post.lisp",
28 "src/data-viewers/tag.lisp",
32 function process_file($filename) {
33 if (!file_exists($filename))
38 $contents = file_get_contents($filename);
40 preg_match_all('/&#x(.{4})/', $contents, $matches);
41 $characters = array_merge($characters, $matches[1]);
43 preg_match_all('/\\\([FE].{3})/i', $contents, $matches);
44 $characters = array_merge($characters, $matches[1]);
47 foreach ($directories as $directory) {
48 foreach ($files as $file) {
49 process_file($directory.$file);
52 foreach ($additional_files as $file) {
56 foreach ($characters as $key => $value) {
57 $characters[$key] = strtoupper($value);
59 $characters = array_unique($characters);
61 echo implode(",",$characters);