Best method to configure cleartype

TL:DR

Switch on color inversion from Magnifier and run ClearType


ClearType
is Microsoft’s implementation of subpixel rendering technology in rendering text in a font system.

and ClearType sucks. ClearType doesn’t give the best font and the font looks awful bad even after configuring several times. I have tried it several times to get the font atleast good.

But while I was checking the magnifier recently, i came across color inversion and saw that my font looks awful while the color is inverted.

So i tried to switch on the inverted option in magnifier to and tried to configure the ClearType and selected all the ones that are good, and applied them.

Once i return back from color inversion, my font looked better than what I had previously applied.

Although it worked perfectly for some parts, other parts which looked nice before became bad.

Enjoy smile

Library not loaded: libcrypto.1.0.0.dylib issue in mac

You might have come across this error while dealing with the openssl module.

Inorder to solve this issue follow the following steps

Step 1: Install openssl using brew

brew install openssl

Step 2: Copy copy libssl.1.0.0.dylib and libcrypto.1.0.0.dylib

cd /usr/local/Cellar/openssl/1.0.1f/lib

sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/lib/

Note the bold folder name. There will be change in that depending on your openssl version

Step 3: Remove the existing links

sudo rm libssl.dylib libcrypto.dylib

sudo ln -s libssl.1.0.0.dylib libssl.dylib

sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib

That’s it. Now try installing what you have been trying to install.

I hope this helps. If you need any further clarification, do comment.

Enjoy smile

Apple’s Custom 30 year font which works with regular alphabets

applemix

Apple left an easter egg  in its new 30 years of Mac tribute website today: A custom font that depicts each Mac model from the past three decades of its history as a maker of personal computers. The original font which is found in the apple website uses special private characters so once installed, you won’t be able to just type to use it as you would a normal font. So i have edited the glphys to make it work with regular alphabets.

Downloads

Original Font: https://db.tt/DrHgDLbH

Edited Font to work with regular alphabets: https://db.tt/mbceqlyb

Glyph Map

glpy_map

Enjoy smile

.htaccess redirect from old domain to new domain

Htaccess is a powerful tool. Simplest mistake in syntax can cause problems. In this post i am talking about the permanent redirect, ie 301 redirect of old domain to new domain.

Case 1: if you need to keep the url structure of old domain in the new one

eg: http://olddomain.com/hello gets redirected to http://newdomain.com/hello

Do this: if you plan to keep the url structure

+ve: Helps to retain the seo

Redirect 301 / http://newdomain.com/

Case 2: if you don’t need the url structure

eg: http://olddomain.com/hello gets redirected to http://newdomain

Do this: if you dont plan to keep the url structure

RewriteEngine On
RewriteRule ^(.*)$ http://newdomain.com/ [R=301]

Enjoy smile