এক সাথে মাইক্রোসফটের ফন্টগুলো পেতে চান - সোর্স ফর্জের কল্যানে তা একসাথে। আজ ওপেন সোর্স সফট এর তালিকা খুঁজতে গিয়ে এটি পেলাম, দেরী না করে সবার সাথে শেয়ার করে দিলাম। এমনিতে বসে থাকলে নেট সার্ফিঙ আমার নেশা আর এর সাথে যদি এমন উপকারী টুলস গুলো পাই তা হলে তা সোনায় সোহাগা। আর তা যদি সবার সাথে শেয়ার করতে পারি তাহলে তো আর ভাল লাগে। নিচে দিলাম কীভাবে এই সফট/টুলস ইন্সটল করে ব্যবহার করতে হয় -
An easy way to install Microsoft's TrueType core fonts on linux
News
- 060430 A long awaited overhaul. Many things are fixed, links updated. Selects a random mirror. Uses tahoma from word 97 viewer instead of the ie6 update so no windows license is needed.
- 030331 Updated the package to match the new location of the Tahoma cab file on microsoft's download site
- 021108 Added link to suse adaption of the .spec file
- 021107 Updated the Tahoma font link, as Microsoft moved their file
- 021026 Removed the python hack as it rarlely needed anyway. That means that only the spec file is interesting nowdays. Updated misc other things as well.
- 021026 It seems like this page got linked. First The Register, then that article was linked from slashdot.
- 020827 A friendly soul over at Microsoft informed me that the Tahoma font was never a part of the "core fonts for the web" initiative and has unclear licensing, so I've removed it
- 020815 Microsoft pulls their fonts from their site. Fortunately, according to the End User License Agreement and the faq I have the right to redistribute the fonts in unaltered form. This right I intend to exercise.
- 020409 Installing doesn't work on 1.1-2. Fixed in 1.1-3
- 020312 Upgrading doesn't work on versions prior to 1.1-2. You will need to remove the old package with 'rpm -e' and than install the new one with 'rpm -i'.
- 020312 Version 1.1
- cabextract is now in a separate package, so no gcc toolchain is needed to follow the instructions
- The Tahoma font is included
Just the fonts
The original unaltered .exe files as downloaded from microsoft.com when they were available here If you don't have a rpm based distribution, you can compile the tool to extract the .ttf files from the .exe files, cabextract from source, found here How to install
Installing Microsoft's TrueType core fonts for the web on any rpm based linux box with TrueType support is now easy. The instructions below have been tested on various Red Hat and Fedora Core systems, but they are fairly generic so they should apply to any redhat-like linux distribution, such as mandrake or yellowdog. If you are running debian, please have a look here. If you are running suse, please have a look here - Make sure you have the following rpm-packages installed from from your favourite distribution. Any version should do.
- rpm-build
- wget
- A package that provides the ttmkfdir utility. For example
- For Fedora Core and Red Hat Enterprise Linux 4, ttmkfdir
- For old redhat releases, XFree86-font-utils
- For mandrake-8.2, freetype-tools
- Install the cabextract utility. For users of Fedora Core it is available from extras. Others may want to compile it themselves from source, or download the source rpm from fedora extras and rebuild.
- Download the latest msttcorefonts spec file from here
- If you haven't done so already, set up an rpm build environment in your home directory. You can to this by adding the line %_topdir %(echo $HOME)/rpmbuild to your $HOME/.rpmmacros and create the directories $HOME/rpmbuild/BUILD and $HOME/rpmbuild/RPMS/noarch
- Build the binary rpm with this command:
$ rpmbuild -bb msttcorefonts-2.0-1.spec
This will download the fonts from a Sourcforge mirror (about 8 megs) and repackage them so that they can be easily installed.
- Install the newly built rpm using the following command (you will need to be root):
# rpm -ivh $HOME/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
- You might need to reload the X font server. Normally this is done as a part of the installation process (this is done by chkfontpath). However in some situations it seems like you need to reload or restart the font server manually. I am told that the last argument needs to be restart and not reload on Mandrake 9.0
# /sbin/service xfs reload
A bug in RedHat 8.0 makes the X server lose the connection to the font server if the font server is restarted instead of reloaded. That will cause assorted strange behaviour (changed fonts in newly opened applications, applications hanging). Logging out and logging in again will solve the problems, or just use 'reload' instead of 'restart'.
- Enjoy your new high quality fonts. To verify that the installation succeeded, please use the command 'xlsfonts | grep ^-microsoft'. You should see a whole lot of microsoft font names there. Please note that you need to restart all programs that you want to make aware of the new fonts. Note also that not all fonts have 'microsoft' in their name, some of them will be from 'monotype' instead.
Features
- Does not distribute Microsoft's fonts in a prohibited way (to the best of my knowledge that is)
- Doesn't bypass the rpm database like other font install scripts