It's frustrating, having to choose between adoption-impairing excessive
resource usage, or adoption-impairing usability issues raised by the
setup complexity of the workaround (custom font config file).
I may be able to help with the workaround, writing a script to set that
up. But I'm finding that there are so many different shared hosting
configs, each with their own precious special needs, that making a
single installation script for all of them is non-trivial.
--
Richard Gaskin
Fourth World Systems
Mark Wieder wrote:
On 11/14/19 5:47 PM, Richard Gaskin via use-livecode wrote:
Wow. Even worse than I'd thought.
LC Server is such a wonderful tool, I feel it could provide a great way
to introduce other devs to chunk expressions and more. But after that
experience on a popular shared host that couldn't handle LC's resource
usage, I began to feel dismayed by the prospects.
If we can't find a solution in the engine, at least we have a workaround
with a custom font config file. But it's so many extra steps to set that
up it rather kills the joy of LC's simplicity.
I forgot to mention libgraphite, which is loaded by default by libharfbuzz.
FWIW, the following 242 font files are checked (open file, read a few
bytes from start of file, close file) on my linux system for each server
transaction. This in spite of my executing a simple "hello world" script
that uses NO fonts:
/etc/fonts/fonts.conf
/etc/fonts/conf.d
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/11-lcdfilter-default.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/30-opensymbol.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/home/mwieder/.config/fontconfig/conf.d
/home/mwieder/.config/fontconfig/fonts.conf
/home/mwieder/.config/font-manager/conf.d
/home/mwieder/.config/font-manager/directories.conf
/home/mwieder/.config/font-manager/local.conf
/home/mwieder/.config/font-manager/select.conf
/home/mwieder/.fonts.conf.d
/home/mwieder/.fonts.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/local.conf
/etc/fonts/conf.d/57-dejavu-sans-mono.conf
/etc/fonts/conf.d/57-dejavu-sans.conf
/etc/fonts/conf.d/57-dejavu-serif.conf
/etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf
/etc/fonts/conf.d/58-dejavu-lgc-sans.conf
/etc/fonts/conf.d/58-dejavu-lgc-serif.conf
/etc/fonts/conf.d/59-lohit-devanagari.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/64-01-tlwg-kinnari.conf
/etc/fonts/conf.d/64-02-tlwg-norasi.conf
/etc/fonts/conf.d/64-10-tlwg-loma.conf
/etc/fonts/conf.d/64-11-tlwg-waree.conf
/etc/fonts/conf.d/64-13-tlwg-garuda.conf
/etc/fonts/conf.d/64-14-tlwg-umpush.conf
/etc/fonts/conf.d/64-15-laksaman.conf
/etc/fonts/conf.d/64-21-tlwg-typo.conf
/etc/fonts/conf.d/64-22-tlwg-typist.conf
/etc/fonts/conf.d/64-23-tlwg-mono.conf
/etc/fonts/conf.d/65-0-fonts-beng-extra.conf
/etc/fonts/conf.d/65-0-fonts-deva-extra.conf
/etc/fonts/conf.d/65-0-fonts-gubbi.conf
/etc/fonts/conf.d/65-0-fonts-gujr-extra.conf
/etc/fonts/conf.d/65-0-fonts-guru-extra.conf
/etc/fonts/conf.d/65-0-fonts-orya-extra.conf
/etc/fonts/conf.d/65-0-fonts-pagul.conf
/etc/fonts/conf.d/65-0-fonts-telu-extra.conf
/etc/fonts/conf.d/65-0-smc-meera.conf
/etc/fonts/conf.d/65-0-smc-rachana.conf
/etc/fonts/conf.d/65-droid-sans-fallback.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-fonts-takao-pgothic.conf
/etc/fonts/conf.d/65-khmer.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/65-wqy-microhei.conf
/etc/fonts/conf.d/66-lohit-assamese.conf
/etc/fonts/conf.d/66-lohit-bengali.conf
/etc/fonts/conf.d/66-lohit-devanagari.conf
/etc/fonts/conf.d/66-lohit-gujarati.conf
/etc/fonts/conf.d/66-lohit-gurmukhi.conf
/etc/fonts/conf.d/66-lohit-kannada.conf
/etc/fonts/conf.d/66-lohit-odia.conf
/etc/fonts/conf.d/66-lohit-tamil-classical.conf
/etc/fonts/conf.d/66-lohit-tamil.conf
/etc/fonts/conf.d/66-lohit-telugu.conf
/etc/fonts/conf.d/67-fonts-smc-manjari.conf
/etc/fonts/conf.d/67-smc-anjalioldlipi.conf
/etc/fonts/conf.d/67-smc-chilanka.conf
/etc/fonts/conf.d/67-smc-dyuthi.conf
/etc/fonts/conf.d/67-smc-karumbi.conf
/etc/fonts/conf.d/67-smc-keraleeyam.conf
/etc/fonts/conf.d/67-smc-raghumalayalamsans.conf
/etc/fonts/conf.d/67-smc-suruma.conf
/etc/fonts/conf.d/67-smc-uroob.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/70-fonts-noto-cjk.conf
/etc/fonts/conf.d/70-no-bitmaps.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/89-tlwg-garuda-synthetic.conf
/etc/fonts/conf.d/89-tlwg-kinnari-synthetic.conf
/etc/fonts/conf.d/89-tlwg-laksaman-synthetic.conf
/etc/fonts/conf.d/89-tlwg-umpush-synthetic.conf
/etc/fonts/conf.d/90-fonts-nanum.conf
/etc/fonts/conf.d/90-synthetic.conf
/usr/share/fonts
/var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7
/usr/local/share/fonts
/var/cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7
/home/mwieder/.local/share/fonts
/var/cache/fontconfig//f34f8236e7353d7d85a1ce4a33e70966-le64.cache-7
/usr/share/fonts/X11
/var/cache/fontconfig//c855463f699352c367813e37f3f70ea7-le64.cache-7
/usr/share/fonts/cMap
/var/cache/fontconfig//32b6488e5b8292a2e95c79d947e009e8-le64.cache-7
/usr/share/fonts/cmap
/var/cache/fontconfig//57e423e26b20ab21d0f2f29c145174c3-le64.cache-7
/usr/share/fonts/opentype
/var/cache/fontconfig//573ec803664ed168555e0e8b6d0f0c7f-le64.cache-7
/usr/share/fonts/truetype
/var/cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7
/usr/share/fonts/type1
/var/cache/fontconfig//d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-7
/home/mwieder/.fonts/Library
/var/cache/fontconfig//2d801cc98c54f31d2367c7c2c9804ad0-le64.cache-7
/usr/share/fonts/X11/Type1
/var/cache/fontconfig//e13b20fdb08344e0e664864cc2ede53d-le64.cache-7
/usr/share/fonts/X11/encodings
/var/cache/fontconfig//707971e003b4ae6c8121c3a920e507f5-le64.cache-7
/usr/share/fonts/X11/misc
/var/cache/fontconfig//cabbd14511b9e8a55e92af97fb3a0461-le64.cache-7
/usr/share/fonts/X11/util
/var/cache/fontconfig//fe547fea3a41b43a38975d292a2b19c7-le64.cache-7
/usr/share/fonts/cmap/adobe-cns1
/var/cache/fontconfig//f1f2465696798768e9653f19e17ccdc8-le64.cache-7
/usr/share/fonts/cmap/adobe-gb1
/var/cache/fontconfig//95530828ff6c81d309f8258d8d02a23e-le64.cache-7
/usr/share/fonts/cmap/adobe-japan1
/var/cache/fontconfig//d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-7
/usr/share/fonts/cmap/adobe-japan2
/var/cache/fontconfig//e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-7
/usr/share/fonts/cmap/adobe-korea1
/var/cache/fontconfig//188ac73a183f12857f63bb60a4a6d603-le64.cache-7
/usr/share/fonts/opentype/malayalam
/var/cache/fontconfig//6afa1bb216ce958c1589e297e8008489-le64.cache-7
/usr/share/fonts/opentype/mathjax
/var/cache/fontconfig//d0972c3d32f097851eb916381fc38920-le64.cache-7
/usr/share/fonts/opentype/noto
/var/cache/fontconfig//9b89f8e3dae116d678bbf48e5f21f69b-le64.cache-7
/usr/share/fonts/truetype/Gubbi
/var/cache/fontconfig//f6e6e0a5c3d2f6ae0c0c2e0ecd42a997-le64.cache-7
/usr/share/fonts/truetype/Nakula
/var/cache/fontconfig//49f0de54bdd920fe4f0dfd4cbac43e6b-le64.cache-7
/usr/share/fonts/truetype/Navilu
/var/cache/fontconfig//85e0a52ce643a7ba2ae53e5d6949cead-le64.cache-7
/usr/share/fonts/truetype/Sahadeva
/var/cache/fontconfig//4d9c95eba1cb85bbcf2878543262124a-le64.cache-7
/usr/share/fonts/truetype/abyssinica
/var/cache/fontconfig//0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-7
/usr/share/fonts/truetype/ancient-scripts
/var/cache/fontconfig//30829fa25452a46451e813d634d7f916-le64.cache-7
/usr/share/fonts/truetype/dejavu
/var/cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7
/usr/share/fonts/truetype/droid
/var/cache/fontconfig//3f7329c5293ffd510edef78f73874cfd-le64.cache-7
/usr/share/fonts/truetype/fonts-beng-extra
/var/cache/fontconfig//674d1711f2d1d2a09646eb0bdcadee49-le64.cache-7
/usr/share/fonts/truetype/fonts-deva-extra
/var/cache/fontconfig//550f3886151c940c12a5ed35f6a00586-le64.cache-7
/usr/share/fonts/truetype/fonts-gujr-extra
/var/cache/fontconfig//f259c2cffa685e28062317905db73c4a-le64.cache-7
/usr/share/fonts/truetype/fonts-guru-extra
/var/cache/fontconfig//551ecf3b0e8b0bca0f25c0944f561853-le64.cache-7
/usr/share/fonts/truetype/fonts-kalapi
/var/cache/fontconfig//d5178ab6d91b49bf20a416737dcea9e8-le64.cache-7
/usr/share/fonts/truetype/fonts-orya-extra
/var/cache/fontconfig//6b2c5944714ca7831b25bed9e85cb5c8-le64.cache-7
/usr/share/fonts/truetype/fonts-telu-extra
/var/cache/fontconfig//370e5b74bf5dafc30834de68e24a87a4-le64.cache-7
/usr/share/fonts/truetype/freefont
/var/cache/fontconfig//d52a8644073d54c13679302ca1180695-le64.cache-7
/usr/share/fonts/truetype/kacst
/var/cache/fontconfig//b47c4e1ecd0709278f4910c18777a504-le64.cache-7
/usr/share/fonts/truetype/kacst-one
/var/cache/fontconfig//b9d506c9ac06c20b433354fa67a72993-le64.cache-7
/usr/share/fonts/truetype/lao
/var/cache/fontconfig//56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-7
/usr/share/fonts/truetype/liberation
/var/cache/fontconfig//3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-7
/usr/share/fonts/truetype/liberation2
/var/cache/fontconfig//9d2451b1fd30e5bffe8383fd27c35478-le64.cache-7
/usr/share/fonts/truetype/lohit-assamese
/var/cache/fontconfig//564b2e68ac9bc4e36a6f7f6d6125ec1c-le64.cache-7
/usr/share/fonts/truetype/lohit-bengali
/var/cache/fontconfig//a48eab177a16e4f3713381162db2f3e9-le64.cache-7
/usr/share/fonts/truetype/lohit-devanagari
/var/cache/fontconfig//16c2fda60d1b4b719f4b3d06fd951d25-le64.cache-7
/usr/share/fonts/truetype/lohit-gujarati
/var/cache/fontconfig//3f589640d34b7dc9042c8d453f7c8b9c-le64.cache-7
/usr/share/fonts/truetype/lohit-kannada
/var/cache/fontconfig//aec30016f93e1b46d1a973dce0d74068-le64.cache-7
/usr/share/fonts/truetype/lohit-malayalam
/var/cache/fontconfig//c5c45a61289222e0d30b1a26ef4effbe-le64.cache-7
/usr/share/fonts/truetype/lohit-oriya
/var/cache/fontconfig//2171a34dccabdb6bcbbc728186263178-le64.cache-7
/usr/share/fonts/truetype/lohit-punjabi
/var/cache/fontconfig//bab58bb527bb656aaa9f116d68a48d89-le64.cache-7
/usr/share/fonts/truetype/lohit-tamil
/var/cache/fontconfig//589f83ef4c36d296ce6e1c846f468f08-le64.cache-7
/usr/share/fonts/truetype/lohit-tamil-classical
/var/cache/fontconfig//f6d4eedfaab2589bde49f7a3ff831d22-le64.cache-7
/usr/share/fonts/truetype/lohit-telugu
/var/cache/fontconfig//b872e6e592da6075ffa4ab0a1fcc0c75-le64.cache-7
/usr/share/fonts/truetype/malayalam
/var/cache/fontconfig//def309198bfa603429122923fa2bb2d4-le64.cache-7
/usr/share/fonts/truetype/myriad-online
/var/cache/fontconfig//24758ae07ab5e673120233f8836fa4b2-le64.cache-7
/usr/share/fonts/truetype/nanum
/var/cache/fontconfig//8801497958630a81b71ace7c5f9b32a8-le64.cache-7
/usr/share/fonts/truetype/noto
/var/cache/fontconfig//0bd3dc0958fa2205aaaa8ebb13e2872b-le64.cache-7
/usr/share/fonts/truetype/openoffice
/var/cache/fontconfig//4794a0821666d79190d59a36cb4f44b5-le64.cache-7
/usr/share/fonts/truetype/padauk
/var/cache/fontconfig//767a8244fc0220cfb567a839d0392e0b-le64.cache-7
/usr/share/fonts/truetype/pagul
/var/cache/fontconfig//4f3e3037c9980c83b53a9351efadef62-le64.cache-7
/usr/share/fonts/truetype/samyak
/var/cache/fontconfig//660208299946a285a940457d1287da33-le64.cache-7
/usr/share/fonts/truetype/samyak-fonts
/var/cache/fontconfig//14a5e22175779b556eaa434240950366-le64.cache-7
/usr/share/fonts/truetype/sinhala
/var/cache/fontconfig//dc05db6664285cc2f12bf69c139ae4c3-le64.cache-7
/usr/share/fonts/truetype/takao-gothic
/var/cache/fontconfig//385c0604a188198f04d133e54aba7fe7-le64.cache-7
/usr/share/fonts/truetype/tibetan-machine
/var/cache/fontconfig//1ac9eb803944fde146138c791f5cc56a-le64.cache-7
/usr/share/fonts/truetype/tlwg
/var/cache/fontconfig//04aabc0a78ac019cf9454389977116d2-le64.cache-7
/usr/share/fonts/truetype/ttf-khmeros-core
/var/cache/fontconfig//0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-7
/usr/share/fonts/truetype/ubuntu
/var/cache/fontconfig//2300eef321c393bfd76478a5c0e95b23-le64.cache-7
/usr/share/fonts/truetype/wqy
/var/cache/fontconfig//99e8ed0e538f840c565b6ed5dad60d56-le64.cache-7
/usr/share/fonts/type1/gsfonts
/var/cache/fontconfig//945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-7
/home/mwieder/.fonts/Library/S
/var/cache/fontconfig//bb1f948abfa40175733ad2af06084916-le64.cache-7
/usr/share/fonts/X11/encodings/large
/var/cache/fontconfig//6333f38776742d18e214673cd2c24e34-le64.cache-7
/usr/share/fonts/truetype/myriad-online/melody
/var/cache/fontconfig//a2d1ff13216d88a738b1b1cc4ab845e8-le64.cache-7
/usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf
--
--
Mark Wieder
ahsoftware at gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode