<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>giang&#039;s blog &#187; Ubuntu</title>
	<atom:link href="http://giang.us/blog/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://giang.us/blog</link>
	<description>blog về cuộc sống và công nghệ của Giang</description>
	<lastBuildDate>Sun, 29 Apr 2012 08:10:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<atom:link rel='hub' href='http://giang.us/blog/?pushpress=hub'/>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Roboto webfont (hosted on Google Code)</title>
		<link>http://giang.us/blog/2012/04/roboto-webfont-hosted-on-google-code/</link>
		<comments>http://giang.us/blog/2012/04/roboto-webfont-hosted-on-google-code/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 06:07:39 +0000</pubDate>
		<dc:creator>gіаиg</dc:creator>
				<category><![CDATA[Linh tinh]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Roboto]]></category>
		<category><![CDATA[Webfont]]></category>

		<guid isPermaLink="false">http://giang.us/blog/?p=1903</guid>
		<description><![CDATA[




Nếu đã dùng qua Android 4 (ICS &#8211; Ice Cream Sandwich) chắc hẳn các bạn đã biết đến font Roboto, không những chỉ có trên ICS, một số nhà phát triển cũng đã thêm font này vào trong rom không chính thức của mình ở những phiên bản Android thấp hơn.
Google cũng đã phát hành [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter">
<dl id="" class="wp-caption aligncenter" style="width: 470px;">
<dt class="wp-caption-dt"><img title="Roboto webfont preview" src="http://developer.android.com/design/media/typography_main.png" alt="Roboto webfont preview" width="460" height="620" /></dt>
</dl>
</div>
<p style="text-align: justify;">Nếu đã dùng qua Android 4 (ICS &#8211; Ice Cream Sandwich) chắc hẳn các bạn đã biết đến font Roboto, không những chỉ có trên ICS, một số nhà phát triển cũng đã thêm font này vào trong rom không chính thức của mình ở những phiên bản Android thấp hơn.</p>
<p style="text-align: justify;">Google cũng đã phát hành và cho phép các nhà phát triển tải font này về từ rất lâu, để có thể dùng font này trên máy tính, bạn có thể truy cập vào địa chỉ sau rồi tải về:</p>
<blockquote><p><a href="http://developer.android.com/design/style/typography.html">http://developer.android.com/design/style/typography.html</a></p></blockquote>
<p>&nbsp;</p>
<h2>Vậy còn webfont thì sao?</h2>
<p style="text-align: justify;">Google hiện cũng có một bộ sưu tập hơn 500 (hiện tại là 501) webfont để sử dụng cho web, tuy nhiên số lượng web font hỗ trợ tiếng Việt còn rất ít, chỉ có 4/501 webfont trong bộ sưu tập của Google webfont có hỗ trợ tiếng Việt, còn lại thì hoàn toàn không.</p>
<p><span id="more-1903"></span></p>
<p>Roboto webfont cũng đã được FontSquirrel cung cấp miễn phí tại:</p>
<blockquote><p><a href="http://www.fontsquirrel.com/fonts/roboto">http://www.fontsquirrel.com/fonts/roboto</a></p></blockquote>
<p>Tuy nhiên, vẫn còn 1 giới hạn là bạn phải tải về sau đó upload lên host của mình mới có thể sử dụng được, có một chút bất tiện và cũng ảnh hưởng kha khá đến tốt độ tải website của bạn.</p>
<p>&nbsp;</p>
<h2>Giải pháp lưu trữ webfont trên Google Code</h2>
<p style="text-align: justify;">Ban đầu, với ý định sẽ sử dụng Google AppEngine để lưu trữ bộ webfont của Roboto trên đó, tuy nhiên, bản miễn phí giới hạn 1GB băng thông mỗi ngày, do đó rất khó lòng để sử dụng rộng rãi khi chỉ có 1GB băng thông.</p>
<p style="text-align: justify;">Vò đầu bứt óc chợt vô tình phát hiện ra Google Code, mình đã xem khá kỹ hướng dẫn và FAQ và không thấy nói nhiều đến băng thông, còn lưu trữ thì được miễn phí đến 4GB, quá nhiều khi bộ webfont này chỉ cần có khoảng 3MB.</p>
<p><em><strong>Một số ưu điểm của Google Code:</strong></em></p>
<ul>
<li>Sử dụng proxy của Google nên sẽ truy cập nhanh hơn rất nhiều.</li>
<li>Băng thông không thấy nhắc đến nên mình nghĩ có lẽ là&#8230; không giới hạn.</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Cách sử dụng Roboto webfont</h2>
<p style="text-align: justify;">Cách sử dụng Roboto webfont cũng khá đơn giản, đơn giản như với Google Webfont vậy. Để thêm font vào website của mình, bạn có thể sử dụng thẻ &lt;link&gt; (nằm giữa thẻ &lt;head&gt;&lt;/head&gt;) hoặc dùng @import nếu bạn không thể chỉnh sữa file html.</p>
<p>&nbsp;</p>
<p><em><strong>Thêm web font Roboto với thẻ &lt;link&gt;</strong></em></p>
<p>Để thêm toàn bộ webfont của Roboto, bạn có thể thêm mã sau vào giữa thẻ &lt;head&gt; và &lt;/head&gt; trên website của mình</p>
<pre class="wp-code-highlight prettyprint linenums:1">&lt;link href=&quot;http://http://roboto-webfont.googlecode.com/svn/trunk/roboto.all.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;</pre>
<p><em><strong>Thêm web font Roboto vào file CSS (stylesheet) với @import</strong></em></p>
<p style="text-align: justify;">Trong trường hợp bạn không thể can thiệp vào mã nguồn của website để thêm thẻ &lt;link&gt;, chúng ta vẫn còn cách khác đó là dùng @import để import file này vào file CSS của bạn.</p>
<pre class="wp-code-highlight prettyprint linenums:1">@import url('http://http://roboto-webfont.googlecode.com/svn/trunk/roboto.all.css');</pre>
<p><em><strong>Sử dụng web font Roboto thay thế cho font mặc định</strong></em></p>
<p style="text-align: justify;">Để thay thế font Roboto cho font mặc định, bạn tìm đến thẻ body trong CSS, thêm vào đoạn sau ở giữa dấu ngặc { và }, thẻ body của CSS sẽ có dạng:</p>
<pre class="wp-code-highlight prettyprint linenums:1">body {
     font-family: 'Roboto',  serif;
     font-weight: 400;
}
</pre>
<p style="text-align: justify;">Bộ web font này bao gồm:</p>
<style>
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('https://themes.googleusercontent.com/font?kit=OLffGBTaF0XFOW1gnuHF0YbN6UDyHWBl620a-IRfuBk') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('https://themes.googleusercontent.com/font?kit=bmC0pGMXrhphrZJmniIZpYbN6UDyHWBl620a-IRfuBk') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('https://themes.googleusercontent.com/font?kit=RxZJdnzeo3R5zSexge8UUT8E0i7KZn-EPnyo3HZu7kw') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('https://themes.googleusercontent.com/font?kit=vzIUHo9z-oJ4WgkpPOtg1_esZW2xOQ-xsNqO47m55DA') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('https://themes.googleusercontent.com/font?kit=12mE4jfMSBTmg-81EiS-YRsxEYwM7FgeyaSgU71cLG0') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('https://themes.googleusercontent.com/font?kit=d-6IYplOFocCacKzxwXSOD8E0i7KZn-EPnyo3HZu7kw') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('https://themes.googleusercontent.com/font?kit=Hgo13k-tfSpn0qi1SFdUfT8E0i7KZn-EPnyo3HZu7kw') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('https://themes.googleusercontent.com/font?kit=7m8l7TlFO-S3VkhHuR0at4bN6UDyHWBl620a-IRfuBk') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('https://themes.googleusercontent.com/font?kit=mnpfi9pxYH-Go5UiibESIj8E0i7KZn-EPnyo3HZu7kw') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('https://themes.googleusercontent.com/font?kit=2UX7WLTfW3W8TclTUvlFyQ') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('https://themes.googleusercontent.com/font?kit=t6Nd4cfPRhZP44Q5QAjcC4bN6UDyHWBl620a-IRfuBk') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('https://themes.googleusercontent.com/font?kit=1pO9eUAp8pSF8VnRTP3xnvesZW2xOQ-xsNqO47m55DA') format('woff');
}
</style>
<ul>
<li><span style="font-family: 'Roboto', serif; font-size: large; font-weight: 400;">Roboto (font-weight: 400)</span></li>
<li><span style="font-family: 'Roboto', serif; font-size: large; font-weight: 900;">Roboto Black (font-weight: 900)</span></li>
<li><span style="font-family: 'Roboto', serif; font-size: large; font-weight: 100;">Roboto Light (font-weight: 100)</span></li>
<li><span style="font-family: 'Roboto', serif; font-size: large; font-weight: 300;">Roboto Thin (font-weight: 300)</span></li>
<li><span style="font-family: 'Roboto', serif; font-size: large; font-weight: 500;">Roboto Medium (font-weight: 500)</span></li>
</ul>
<p style="text-align: justify;">Bạn có thể thay thế <strong>&#8216;font-weight: 400;&#8217;</strong> ở trên bằng số tương ứng như phía trên để có được font ưng ý cho website của mình ;)</p>
<p><em><strong>Nếu có thắc mắc hay góp ý gì, vui lòng để lại comment bên dưới nhé :D</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://giang.us/blog/2012/04/roboto-webfont-hosted-on-google-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GNOME3 Released</title>
		<link>http://giang.us/blog/2011/04/gnome3-released/</link>
		<comments>http://giang.us/blog/2011/04/gnome3-released/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 11:47:09 +0000</pubDate>
		<dc:creator>gіаиg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://giang.us/blog/?p=1619</guid>
		<description><![CDATA[Hôm nay, Gnome phiên bản thứ 3 đã chính thức được phát hành, điểm thú vị là giao diện của Gnome 3 khá giống MacOSX và cách quản lý cửa sổ khá giống Windows 7.


Bạn có thể trải nghiệm những tính năng mới của Gnome3 bằng cách chạy phiên bản Live trên USB hoặc CD. [...]]]></description>
			<content:encoded><![CDATA[<p>Hôm nay, Gnome phiên bản thứ 3 đã chính thức được phát hành, điểm thú vị là giao diện của Gnome 3 khá giống MacOSX và cách quản lý cửa sổ khá giống Windows 7.</p>
<p style="text-align: center;"><a href="http://giang.us/blog/wp-content/uploads/2011/04/gnome3.png"><img class="aligncenter size-medium wp-image-1620" title="gnome3" src="http://giang.us/blog/wp-content/uploads/2011/04/gnome3-400x170.png" alt="" width="600" /></a></p>
<p><span id="more-1619"></span></p>
<p>Bạn có thể trải nghiệm những tính năng mới của Gnome3 bằng cách chạy phiên bản Live trên USB hoặc CD. Download bản Live của Gnome3 tại:</p>
<div style="display: inline; float: left; margin-left: 10px; margin-right: 10px;">
<h4>GNOME 3 dựa trên <a href="http://opensuse.org">openSUSE</a></h4>
<p><a style="margin-bottom: 8px; text-align: center; padding: 10px 20px; background-color: #f57900; border-radius: 7px; color: #fff; text-decoration: none; font-weight: bold; display: block;" href="http://download.opensuse.org/repositories/GNOME:/Medias/images/iso/GNOME_3.i686-1.0.0-Build1.1.iso">Download for 32 bit systems (v1.0.0)</a><br />
<a style="margin-bottom: 8px; text-align: center; padding: 10px 20px; background-color: #f57900; border-radius: 7px; color: #fff; text-decoration: none; font-weight: bold; display: block;" href="http://download.opensuse.org/repositories/GNOME:/Medias/images/iso/GNOME_3.x86_64-1.0.0-Build1.1.iso">Download for 64 bit systems (v1.0.0)</a></p>
</div>
<div style="display: inline; float: left; margin-left: 10px; margin-right: 10px;">
<h4>GNOME 3 dựa trên <a href="http://fedoraproject.org">Fedora</a></h4>
<p><a style="text-align: center; padding: 10px 20px; background-color: #f57900; border-radius: 7px; color: #fff; text-decoration: none; font-weight: bold; display: block;" href="http://download.gnome.org/misc/live/GNOME30-Live-latest.iso">Download for 32 bit systems (2011-04-05)</a></p>
</div>
<div style="clear: both; content: ' '; display: block; font-size: 0; visibility: hidden; line-height: 0; width: 0; height: 0;">Clear</div>
<p><strong>Lưu ý:</strong></p>
<ul>
<li>Tên truy cập của openSUSE bản live là &#8216;tux&#8217; và mật khẩu để trống.</li>
<li>Tên truy cập của Fedora bản live là &#8216;liveuser&#8217; và mật khẩu để trống.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Xem thêm chi tiết tại:</strong></p>
<blockquote><p><a href="http://www.gnome3.org" target="_blank">http://www.gnome3.org</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://giang.us/blog/2011/04/gnome3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic Koalas released</title>
		<link>http://giang.us/blog/2009/10/ubuntu-9-10-karmic-koalas-released/</link>
		<comments>http://giang.us/blog/2009/10/ubuntu-9-10-karmic-koalas-released/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 13:39:20 +0000</pubDate>
		<dc:creator>gіаиg</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[Karmic Koalas]]></category>

		<guid isPermaLink="false">http://giang.us/blog/?p=925</guid>
		<description><![CDATA[Ubuntu 9.10 Karmic Koalas has just been released, you can download it now!

Desktop, 32-bit [torrent] [direct download]
 Desktop, 64-bit [torrent] [direct download]
 Netbook Remix 32-bit [torrent] [direct download]

Source:  http://www.downloadsquad.com/

]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10 Karmic Koalas has just been released, you can download it now!</p>
<blockquote>
<h3>Desktop, 32-bit [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-desktop-i386.iso.torrent">torrent</a>] [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-desktop-i386.iso">direct download</a>]<br />
 Desktop, 64-bit [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-desktop-amd64.iso.torrent">torrent</a>] [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-desktop-amd64.iso">direct download</a>]<br />
 Netbook Remix 32-bit [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.torrent">torrent</a>] [<a href="http://noncdn.releases.ubuntu.com//releases/9.10/ubuntu-9.10-netbook-remix-i386.iso">direct download</a>]</h3>
</blockquote>
<p>Source:  <a href="http://www.downloadsquad.com/2009/10/29/millions-of-karmic-koalas-descend-on-the-net-as-ubuntu-9-10-dow/" target="_blank">http://www.downloadsquad.com/</a></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://giang.us/blog/2009/10/ubuntu-9-10-karmic-koalas-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

