Abstract Fonts has been running on Apache/mod_php clustered setup for many years now but recently we've encountered performance issues stemming from apache/mod_php using too much memory.
In the picture you can see that apps consumed most of the memory on this particular web server. That happens due to mod_php being loaded into each apache process and if you have hundreds of processes you will quickly run out of memory.
The worst part is that even static files are served by processes that have mod_php loaded in. This is where nginx excelled by always running PHP and other processors through CGI and thus not sharing it's own memory with them, staying lean.
Enter PHP-FPM which was a breeze to install. It has a plethora of configuration options but since we are migrating from pretty simple mod_php config it was very simple to replicate. Switching half a dozen of web servers only took a couple of hours.
Our web server are running Ubuntu Server 12.04 and these are the steps we needed to execute to switch from apache2-mpm-prefork with libapache2-mod-php5
[code]sudo apt-get install apache2-mpm-worker libapache2-mod-fastcgi php5-fpm[/code]
Now, edit /etc/php5/fpm/pool/www.conf
We changed pm.num_children to be total memory divided by how much a php-fpm process takes up (about 70-80MB in our case)
We also uncommented pm.max_requests and set it to 1000, to make sure workers get restarted to avoid memory leaks in 3rd party modules.
We changed pm.listen to /tmp/php5-fpm.sock to list on a Unix socket instead of default port 9000.
We also changed user and group from www-data to 'apache' since we had mod_php setup configure to run that way.
Because of that we had to chown the fastcgi directory to apache.apache like this:
[code]sudo chown apache.apache /var/lib/apache2/fastcgi[/code]
Now we need to configure apache to execute php scripts through fastcgi.
We had to enable 'actions' module first.
Then change /etc/apache2/mods-enabled/fastcgi.conf to look something like this
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /tmp/php5-fpm.sock -pass-header Authorization
Note that we are running PHP-FPM through a socket to avoid TCP/IP overhead.
[code]sudo service php5-fpm reload
sudo service apache2 restart [/code]
And you should be off to the races.
From the graph you can tell but after switching to PHP-FPM we had a huge spike in traffic (10x the usual) yet the memory usage remained extremely low, without any swapping and the system remained very responsive and unphased by the influx of visitors.
I should note that we are using PHP-FPM in conjunction with APC, but it was already installed and being used with mod_php as well.
Based on our experience PHP-FPM blows mod_php out of the water and we would HIGHLY recommend it over antiquated mod_php.
If you have had other experiences don't hesitate to share.
Get them here: http://www.fonts.com/font/monotype-imaging/soho/selection-pack
Fonts.com Flash Sale: Today, for 12 hours only, Fonts.com is offering four fonts from the best selling Soho family for over 80% off. Designed by Sebastian Lester, this modern slab serif design offers versatility for corporate identity, product branding, text or display use. These OpenType Pro selections feature stylistic sets, including a wide variety of alternate characters, as well as ligatures and small caps.
Normally $234, on January 15th from 8:00 AM to 8:00 PM (EST) be one of the first 500 customers to purchase and you’ll receive the light, medium, bold, and heavy weights of the Soho family at the special price of only $39. That’s four best selling fonts for over 80% off the regular price – buy now before this limited time offer expires or sells out! Discount applied at checkout.
If you type "windows character map" into google you will get a bunch of relevant results.
Accented 'a' will belong to some particular language and if you live in the country that speaks it.
Then you will probably have that language set as your default operating system language and there will be a keyboard that you can buy (or glue stickers on) that will be able to access those special characters for that particular language.
Or you could just go to Character Map application (if you are on windows, or similar) that will show all characters available and you will probably be able to copy / paste them one by one.
I tested and it appears to work just fine. Are you using an old browser?
Try a different image to see maybe something's wrong with that one.
Sorry badgerbear, but Abstract Fonts only carries TTF / OTF fonts.
I am not even sure how useful your font would be as png as it wont properly scale, not having any kerning info etc.
I would recommend converting it to vectors and using one of the font editing programs to convert into a proper font file which can be easily used by graphic artists.
[quote]@Kandymkr31:Trying to download a font but having trouble. Followed the You Tube Video but the website is different... there is no way to save as a TFF. Any ideas??[/quote]
The video is outdated and I will remove it.
What operating system are you using? Windows? Which version? 7?
You have to download the zip file. Unzip it. Right-click on .ttf files and pick the "Install Font" option.
[quote]@hans lindquist:It was impossible for me to install your fine fonts in Windows XP.[/quote]
For older OS such as Win XP you need to copy .ttf files to the fonts directory.
Full details here: http://support.microsoft.com/kb/314960
I just added a feature to the site that should drastically reduce number of spam posts, if not get rid of them all.
Let's see how it goes. Let me know if you still come across of them.
I'm watching the thread and as soon as / if she requests it, I'll take it down.
I love the "Be nice to the cats" preview text :)
Not a font. If you look at any character it is different in all cases. For example there are no two identical 'R's.