Archive

Archive for the ‘Design’ Category

Non-System Web Font with HTML5 @font-face Syntax

July 3rd, 2010 No comments

In this post I just want to try the new feature of HTML5 that is non-system web font support, to be used in my blog which is using WordPress. Well I’ve read some reference to implement this feature which will use @font-face syntax. You can read:
Bulletproof @font-face syntax article for the tutorial and @font-face Generator which will generate files like .eot (used by Internet Explorer to support css @font-face declarations), .svg, .html, and .css; so that you can learn @font-face syntax from those files. For converter .ttf or .otf to .eot you can use application to convert TTF files to EOT. Don’t forget to read the wiki how to use the application.

I will show short tutorial how to implement @font-face syntax. Prepare .ttf or .otf font and .eot file. Upload it to folder of your template where there is css file. For the example I use Yikes font.

Edit css and insert this code:

@font-face {
	font-family: 'Yikes';
	src: url('yikes.eot');
	src: local('☺'), url('yikes.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
 
.yikes1 {font: 2em 'Yikes', Arial, sans-serif;}

If you use wordpress change to HTML mode when create new post, then insert this code (for example):

<p class="yikes1">R. Bambang Widiatmoko<br />Featuring Yikes font</p>

And here is the result:

R. Bambang Widiatmoko
Featuring Yikes font

Try to select the text ^^ *only works for HTML 5 support browser*
Read more…

Perbandingan Font untuk Menulis Arab

June 28th, 2010 5 comments

Bila Anda sering menulis atau mendesain dengan tulisan Arab di komputer, ada baiknya untuk memperhatikan font yang digunakan agar pembaca tidak kesulitan dan mengurangi kesalahan membaca tulisan Arab tersebut. Berikut contoh tulisan arab dari al-Quran surat al-Fatihah ayat 7 menggunakan empat font yang berbeda, Arial, Traditional Arabic, Arabic Typesetting, dan Andalus
al-Fatihah surat 7 - empat font berbeda
klik untuk perbesar gambar

Font arab Arial dengan Times New Roman tidak jauh berbeda. Menurut saya font Traditional Arabic dan Arabic Typesetting mempunyai tingkat kejelasan yang terbaik, perbedaannya kalau Arabic Typesetting terlihat lebih rapat. Namun untuk penggunaan tasydid dan kasroh, Arabic Typesetting terlihat lebih tepat peletakannya seperti mushaf saat ini.

Lalu bagaimana untuk penggunaan di web? Untungnya font seperti Arabic Typesetting merupakan salah satu font standard web, jadi kita bisa menggunakan dalam coding desain web. Contohnya sebagai berikut.
Di file css:

.arab1 {font: 3em Arabic Typesetting, Arial, sans-serif;}

Lalu di file html:

<p class="arab1">صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلَا الضَّالِّينَ</p>

Tulisan arab bisa diedit di word lalu copas ke HTML editor. Contoh jadinya:

صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلَا الضَّالِّينَ

Update:
Ternyata font Arabic Typesetting bukan font standard web jadi kalau dilihat di komputer yang tidak terinstall font tersebut, tulisan arabnya tidak seperti di screenshot. Jadi solusinya adalah dengan memanfaatkan fitur @font-face HTML5 (lihat tutorialnya).

Islamic Wallpaper – al Qiyaamah

May 8th, 2010 No comments

al Qiyaamah coming soon 1280x800
Available in 1280×800

al Qiyaamah coming soon 1440x900
Available in 1440×900

Download all Islamic Wallpaper – al Qiyaamah

You can see my other Islamic wallpaper

Insert Facebook Like Button to WordPress

April 24th, 2010 2 comments

Facebook Like Button
Taken from Cordobo.com, Integrate Facebook’s “Like” Plugin into WordPress.

The original code can be generated from Facebook’s Like Button generator. Here is how to insert the code.

Update: One of the WordPress social bookmark plugin, Digg Digg, now add Facebook Like Button.
Read more…

Global Warming Wallpaper – Awareness Can Save the Earth

March 28th, 2010 2 comments

Taken from: good50x70.org
License: Creative Commons — Attribution-Non-Commercial-Share Alike 2.5 Generic
Stop Global Warming - Awareness Can Save the Earth
Available in: 2560×1600, 1920×1200, 1280×800
Download: HERE