Sweet Little Vanilla

Vanilla

Vanilla, 2 months old

Posted in Images, Life | Leave a comment

On Marriage

In the marriage ceremony, that moment when falling in love is replaced by the arduous drama of staying in love, the words “in sickness and in health, for richer, for poorer, till death do us part” set love in the temporal context in which it achieves its meaning. As time begins to elapse, one begins to love the other because they have shared the same experience… Selves may not intertwine; but lives do, and shared memory becomes as much of a bond as the bond of the flesh.
- Michael Ignatieff

A totally amazing month has just passed. I love you.

Posted in Life | Leave a comment

Finally, Using your font on the web!

The CSS @font-face rule allows you to specify & upload a font that will be downloaded to the clients machine, so the web page will be rendered exactly as you expected it to be, no matter where!

In a huge step forward for typography on the web, Mozilla finally announced that their new Firefox 3.5 (download beta) will support the @font-face rule. Opera is supposed to do the same with the next 10 version. It’s worth to know that this feature is working already on Safari 3.1 + using webkit. the ugly IE 4.0 + Supports this too, but with .eot or .ote font file extensions only.

History

Since May 1998 in the CSS 2 specification, every one was interested in being able to  embed your own fonts on any web page using @font-face rule. It would help you make sure that your visitors will see your design just as you created it. however this was not implemented on every browser, so it was later removed from the recommendation is CSS 2.1.

Disadvantages

The copyright issues! using this method means that any one can go through your code and download the font you are using. This arises a problem since there are many fonts you are not allowed to re-distribute. There should be a way of encoding font files or otherwise we will have to stick with open source fonts, which can’t be the answer!

alternatives?

On the other way, the use of sIFR (inline Flash & Javascript text replacement) was the only other reliable way I know around this, It allows you to embed your font on any browser that supports Flash and Javascript. Beside the fact that it prevent stealing, It is easy, reliable, and it validates.

Using @font-face property

Syntax:

@font-face {
  font-family: your-font-family-name;
  src: url-to-the-font-file;
}

Example Usage:

@font-face{
font-family:'Myriad Pro';
src: url('http://web-site.com/MyriadPro.otf') format('opentype');
}

h2{
font-family:'Myriad Pro', georgia;
}

HTML code:

<body>
  <h2>This is Myriad Pro font Example.</h2>
</body>
Posted in Web | Tagged | 1 Comment

A Birthday Gift

Well, I guess now I am done with the biggest part of this blog design. It came by chance that it’s online now on the same day I am turning 22, Happy Birthday to me too then!

so, who is this?

As you may had noticed, my name is Muhammad and I live in Egypt, Today I just turned 22. I am going to obtain my bachelor degree in computer science this summer, after 5 years of study at Modern Academy.

I have been working as a freelancer for about 4 year, Now as I am finishing my college I think it’s time to search for a full-time job, so wish me luck.

I’ll blog here mainly about my web design & typography experience, and you may expect some personal stuff too.

Posted in Life | 3 Comments