<?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>madmack&#039;s blog</title>
	<atom:link href="http://blog.devasque.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.devasque.com</link>
	<description>Android Arabic shaping blog</description>
	<lastBuildDate>Sat, 14 Apr 2012 20:10:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Android Ice cream Sandwich supports Arabic from Google &#8211; نظام أندرويد الجديد يدعم العربية بالكامل</title>
		<link>http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-ice-cream-sandwich-supports-arabic-from-google</link>
		<comments>http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 04:21:49 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=296</guid>
		<description><![CDATA[Today Google and Samsung revealed the next flagship device and made an official announcement for Google&#8217;s next mobile operating system: Android Ice Cream Sandwich. They made the SDK available so I jumped on it to see if it supports Arabic. &#8230; <a href="http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div dir="ltr" lang="en">
Today Google and Samsung revealed the next flagship device and made an official announcement for Google&#8217;s next mobile operating system: Android Ice Cream Sandwich. They made the SDK available so I jumped on it to see if it supports Arabic. Check out the gallery at the bottom of this page to see the answer. Hint: It&#8217;s a good one.</p>
<p>Edit 11/3/2011: I figured out how to get the keyboard to display correctly. I&#8217;ve attached some screenshots of the Arabic keyboard for your viewing pleasures.
</p></div>
<p></p>
<div dir="rtl" lang="ar">
اليوم أعلنت شركة قوقل آخر إصدار أندرويد وهو Ice Cream Sandwich 4.0. النسخة الجديدة فيها تغييرات كثيرة وتحديثات في البنية التحتية للنظام. لقد قمت بتنزيل نسخة المطورين من موقع أندرويد للنظر فيما إذا تقوم هذه النسخة بدعم لغتنا العربية. إليكم النتيجة في الأسفل.</p>
<p>تحديث 11/3/2011: لقد تم تحديث الصور بصور فيها نسخة من الكيبورد (لوحة المفاتيح) العربي الجديد من قوقل.
</p></div>
</p>

<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/1/' title='1'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/1-150x150.jpg" class="attachment-thumbnail" alt="1" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/2/' title='2'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/2-150x150.jpg" class="attachment-thumbnail" alt="2" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/3/' title='3'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/3-150x150.jpg" class="attachment-thumbnail" alt="3" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/4/' title='4'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/4-150x150.jpg" class="attachment-thumbnail" alt="4" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/5/' title='5'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/5-150x150.jpg" class="attachment-thumbnail" alt="5" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/10/' title='10'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/10-150x150.png" class="attachment-thumbnail" alt="10" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/11/' title='11'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/11-150x150.png" class="attachment-thumbnail" alt="11" /></a>
<a href='http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/attachment/12/' title='12'><img width="150" height="150" src="http://blog.devasque.com/wp-content/uploads/2011/10/12-150x150.png" class="attachment-thumbnail" alt="12" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/10/19/android-ice-cream-sandwich-supports-arabic-from-google/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>New update v0.813 تحديث جديد</title>
		<link>http://blog.devasque.com/2011/09/28/new-update-v0-813-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-update-v0-813-%25d8%25aa%25d8%25ad%25d8%25af%25d9%258a%25d8%25ab-%25d8%25ac%25d8%25af%25d9%258a%25d8%25af</link>
		<comments>http://blog.devasque.com/2011/09/28/new-update-v0-813-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 17:12:05 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[العربية]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=247</guid>
		<description><![CDATA[تم اصدار نسخة 0.813 من الباتش اليوم والذي يقوم بتصحيح مشكلة تراقص الحروف في برنامج WhatsApp. المشكلة رصدت من قبل الأخ uTh في منتدى المطورين فله الشكر على ذلك. المشكلة تكمن في أن بعض الرسائل العربية في هذا البرنامج (عادةً &#8230; <a href="http://blog.devasque.com/2011/09/28/new-update-v0-813-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div dir="rtl" lang="ar">
تم اصدار نسخة 0.813 من الباتش اليوم والذي يقوم بتصحيح مشكلة تراقص الحروف في برنامج WhatsApp.<br />
المشكلة رصدت من قبل الأخ uTh في منتدى المطورين فله الشكر على ذلك.</p>
<p>المشكلة تكمن في أن بعض الرسائل العربية في هذا البرنامج (عادةً قادمة من مرتدي أجهزة البلاك بيري) تكون فيها حرف اليونيكود 0<a href="http://www.fileformat.info/info/unicode/char/200f/index.htm">x200F</a>. هذا الرمز يسبب تراقص الحروف وهذه النسخة تقوم بتبديل هذا الرمز برمز المسافة 0<a href="http://www.fileformat.info/info/unicode/char/20/index.htm">x0020</a> والذي يصحح المشكلة.</p>
<p>تغييراتي كالعادة مفتوحة المصدر ولكم مشاهدتها على <a href="https://github.com/madmack/platform_external_icu4c/commit/95efd32113a3c93525fada8b537e5ede9cd5d3a6">هذا الموقع</a>.
</div>
<div dir="ltr" lang="en">
<p>
I&#8217;ve just released v0.813 which includes a fix to the &#8220;dancing letters&#8221; problem in WhatsApp.<br />
<b>uTh</b> has helped to come up with this fix as he found out that the unicode character <a href="http://www.fileformat.info/info/unicode/char/200f/index.htm">0x200F</a> was responsible for this misbehavior. Simply replacing 0x200F with a <a href="http://www.fileformat.info/info/unicode/char/20/index.htm">white space (0&#215;0020)</a> fixed it.</p>
<p>As always, changes are shared with you guys and committed on my <a href="https://github.com/madmack/platform_external_icu4c/commit/95efd32113a3c93525fada8b537e5ede9cd5d3a6">github account</a>.</p>
<p>You can grab the patch from <a href="http://blog.devasque.com/?page_id=11" title="How to apply patch – طريقة التعريب">HERE</a>.
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/09/28/new-update-v0-813-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>New universal patcher v0.810 تحديث ونسخة جديدة</title>
		<link>http://blog.devasque.com/2011/08/18/new-universal-patcher-v0-810-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d9%88%d9%86%d8%b3%d8%ae%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-universal-patcher-v0-810-%25d8%25aa%25d8%25ad%25d8%25af%25d9%258a%25d8%25ab-%25d9%2588%25d9%2586%25d8%25b3%25d8%25ae%25d8%25a9-%25d8%25ac%25d8%25af%25d9%258a%25d8%25af%25d8%25a9</link>
		<comments>http://blog.devasque.com/2011/08/18/new-universal-patcher-v0-810-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d9%88%d9%86%d8%b3%d8%ae%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 04:15:35 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=228</guid>
		<description><![CDATA[Hello everyone. Me again ! I have just finished updating my universal patcher to v0.810 which brings one new big feature to the table: shaping libwebcore.so from any ROM -well, hopefully-. This work was taken from a genius that I&#8217;ve &#8230; <a href="http://blog.devasque.com/2011/08/18/new-universal-patcher-v0-810-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d9%88%d9%86%d8%b3%d8%ae%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Hello everyone. Me again !</p>
<p>I have just finished updating my universal patcher to v0.810 which brings one new big feature to the table: shaping libwebcore.so from any ROM -well, hopefully-.</p>
<p>This work was taken from a genius that I&#8217;ve met a couple of weeks ago that goes by the name <b>brightidea</b>. He has successfully integrated Arabic shaping by modifying the binary file itself. In other words, without recompiling the sources or waiting for them to be released by the manufacturer.<br />
He has contributed by first giving us the libwebcore.so file for the Android 2.3.4 ROMs for the Samsung Galaxy S2 and has now carried on to bring us a universal patcher that should work with any non-arabized libwebcore.so file.</p>
<p>His work and thread can be traced here: <a href="http://forum.xda-developers.com/showthread.php?t=1218960" title="[MOD] libwebcore">Link</a></p>
<p>In the spirit of openness, I have also upped his source code for this great utility at my <a href="https://github.com/madmack/Webkit-Arabic-patcher" title="webkit patcher">github account</a>. Thank you, brightidea, for sharing this code with us.</p>
<p>v0.810 also reworks the folder structure of the patcher. So now we have <b>input</b> and <b>output</b> only instead of the old complex structure. This version also brings the latest smali and baksmali tools for decompiling framework.jar.</p>
<p>Enjoy it while <a href="http://blog.devasque.com/?page_id=11" title="How to apply patch – طريقة التعريب">it lasts</a></p>
<p>Update 8/22: v0.810 broke the decompiling process because of the baksmali upgrade to 1.2.7. JesusFreke helped me fix it so please grab <a href="http://blog.devasque.com/?page_id=11">v0.811 instead.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/08/18/new-universal-patcher-v0-810-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d9%88%d9%86%d8%b3%d8%ae%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New framework patcher v0.804 تحديث جديد</title>
		<link>http://blog.devasque.com/2011/08/07/new-framework-patcher-v0-804-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-framework-patcher-v0-804-%25d8%25aa%25d8%25ad%25d8%25af%25d9%258a%25d8%25ab-%25d8%25ac%25d8%25af%25d9%258a%25d8%25af</link>
		<comments>http://blog.devasque.com/2011/08/07/new-framework-patcher-v0-804-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 01:56:57 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=212</guid>
		<description><![CDATA[لقد تم انزال باتش جديد بنسخة .804 والتي تقوم بتصحيح انقلاب الأرقام عندما تكون في بداية سطر جديد وفي السطر أحرف عربية. عليك بإنزال النسخة من هنا It&#8217;s been a while since I&#8217;ve touched my framework patcher files given how &#8230; <a href="http://blog.devasque.com/2011/08/07/new-framework-patcher-v0-804-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div style="text-align:justify;" dir="rtl" lang="ar">
<font face="Tahoma"><br />
لقد تم انزال باتش جديد بنسخة .804 والتي تقوم بتصحيح انقلاب الأرقام عندما تكون في بداية سطر جديد وفي السطر أحرف عربية.</p>
<p>عليك بإنزال النسخة من <a href="http://blog.devasque.com/?page_id=11" title="How to apply patch – طريقة التعريب">هنا</a>
</div>
<div style="text-align:justify;" dir="ltr" lang="en">
It&#8217;s been a while since I&#8217;ve touched my framework patcher files given how successful it was with various devices.</p>
<p>Today I&#8217;ve patched up the number reversing issue that was prevalent when the numbers are at the beginning of a new line and the line contains RTL text. The fix was easier than I previously imagined so it was quick and required modifications only to one file: StaticLayout.java<br />
I&#8217;ve taken the fix from the CyanogenMod 7 open sources so props to them for fixing it.</p>
<p>As always, the sources are out there on my github account and the exact commit for this update is <a href="https://github.com/madmack/platform_frameworks_base/commit/51011eba576b2153310ea6768a284361add97b77" title="Here" target="_blank">HERE</a>.</p>
<p>You can grab the patch from <a href="http://blog.devasque.com/?page_id=11" title="How to apply patch – طريقة التعريب">HERE</a>.
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/08/07/new-framework-patcher-v0-804-%d8%aa%d8%ad%d8%af%d9%8a%d8%ab-%d8%ac%d8%af%d9%8a%d8%af/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updated patch</title>
		<link>http://blog.devasque.com/2011/05/06/updated-patch/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=updated-patch</link>
		<comments>http://blog.devasque.com/2011/05/06/updated-patch/#comments</comments>
		<pubDate>Sat, 07 May 2011 03:40:26 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=178</guid>
		<description><![CDATA[I&#8217;ve just released 0.802 of the patch which uses the latest CM7 RTL fixes. The fixes include alignment and text width modifications. You can see my changes here: Github 1 and here Github 2 Some users were having problems with &#8230; <a href="http://blog.devasque.com/2011/05/06/updated-patch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just released 0.802 of the patch which uses the latest CM7 RTL fixes. The fixes include alignment and text width modifications. You can see my changes here: <a href="https://github.com/madmack/platform_external_icu4c/commit/75029b9efef42f8fd435d53464b6adbe1f639b78">Github 1</a> and here <a href="https://github.com/madmack/platform_frameworks_base/commit/e9cec217e094412b094e7a1f95bd7a18fa60134f">Github 2</a></p>
<p>Some users were having problems with incomplete titles in Gmail. That was caused by not having an AOSP build of the TextUtils.smali file in these ROMs. I had a problem myself using my patch on the Galaxy S JVH ROM.</p>
<p>This new patch separates added methods from TextUtils.java that the CM7 team have added into a new class under android/text/util/RTLTextUtils. That way, we don&#8217;t need to replace this file from Stock and hopefully won&#8217;t have any disappearing titles in Gmail anymore.</p>
<p>Because of this new modification, the gingerbread patch should also work flawlessly on Froyo AOSP builds now (you get some updated tidbits from the modified files as a bonus).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/05/06/updated-patch/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New library and patch added to github</title>
		<link>http://blog.devasque.com/2011/04/08/new-library-and-patch-added-to-github/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-library-and-patch-added-to-github</link>
		<comments>http://blog.devasque.com/2011/04/08/new-library-and-patch-added-to-github/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 16:06:04 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=140</guid>
		<description><![CDATA[CyanogenMod 7 has introduced a new arabic patch in its latest nightly that uses JNI calls to speed up the shaping process (by Eyad Aboulouz: Ref). I have tested it on my device and it seems to do a decent &#8230; <a href="http://blog.devasque.com/2011/04/08/new-library-and-patch-added-to-github/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>CyanogenMod 7 has introduced a new arabic patch in its latest nightly that uses JNI calls to speed up the shaping process (by Eyad Aboulouz: <a href="http://review.cyanogenmod.com/#change,4255" target="_blank">Ref</a>).  I have tested it on my device and it seems to do a decent job and it doesn&#8217;t break Hebrew RTL like my previous arabic patch did. The only problem it had was that it relied on modified JNI calls that change libandroid_runtime.so in each device in two ways:<br />
(1) injects this new arabic shaping method<br />
(2) renames the JNI call drawText to native_drawText so that it could intercept texts going to the public API drawText() in Canvas.</p>
<p>For (1) I have created a new icu4c library that exposes these arabic shaping methods. This library should be portable across devices which means we won&#8217;t have to recompile libandroid_runtime.so for each device separately. My work can be seen at:<br />
<a href="https://github.com/madmack/platform_external_icu4c/commit/c1416f57447be8d1a40c6af2af49b9054a19ea1d">https://github.com/madmack/pla&#8230;</a></p>
<p>As for (2), the guys responsible for the Hebrew patch have produced a hex editor tool that can rename the function without having to recompile libandroid_runtime.so. This utility is called LibPatcher.exe and it simply takes your compiled libandroid_runtime.so and produces a fixed one with the correct naming scheme.</p>
<p>Given that these two things are taken care, we have Gingerbread AOSP patched correctly:<br />
<a href="https://github.com/madmack/platform_frameworks_base/compare/arabic_gb_patch">https://github.com/madmack/platform_frameworks_base/compare/arabic_gb_patch</a></p>
<p><del datetime="2011-04-13T23:36:51+00:00">While this should be backward compatible with Froyo AOSP builds, I was having a problem in Gmail&#8217;s title&#8217;s: a &#8220;Rejected.&#8221; string was appended to the end of each title. It seems that the Gmail app in Froyo is expecting a certain text to be returned and its not, but I couldn&#8217;t find the problem so far specially given how close the Froyo AOSP sources are to Gingerbread in these patched files.</del>(update 4/13/2011) This has been fixed. Problem was with TextUtils.java. Simply recompiling my patch in Froyo&#8217;s AOSP build and cherry-picking TextUtils&#8217; additions fixed it. My latest patch 0.800 should work with Froyo builds and Gingerbread now.</p>
<p>The other problem we have is with Sense UI in HTC&#8217;s new Gingerbread builds. HTC decided to modify Layout.java (in framework/base/core/java/android/text/) and this breaks the patch if replaced with AOSP&#8217;s compiled patched files. I fixed this tiny problem by applying the Hebrew java patch to Layout.smali.</p>
<p><del datetime="2011-04-13T23:36:51+00:00">So far the new patch basically applies to all Gingerbread ROMs except the ones based on Sense UI.</del></p>
<p>While this patch is speedy and takes care of the space after LAMALEF, it still has some spacing issues when typing text and its missing visual-to-logical functions to make the cursor fall exactly where the text appears for the user. For example, typing a sentence in arabic and then going back to modify somewhere in the middle will place your newly typed letters in unexpected positions in the sentence instead of it being exactly where the cursor is. So make sure you get the strings typed correctly on first shot <img src='http://blog.devasque.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>As always, my work is staying open sourced, so there you have it for those who are interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/04/08/new-library-and-patch-added-to-github/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>طلبات تعريب المتصفح والجيميل Taking requests for webcore shaping</title>
		<link>http://blog.devasque.com/2011/03/26/taking-requests-for-webcore-shaping-%d8%b7%d9%84%d8%a8%d8%a7%d8%aa-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a7%d9%84%d9%85%d8%aa%d8%b5%d9%81%d8%ad-%d9%88%d8%a7%d9%84%d8%ac%d9%8a%d9%85%d9%8a%d9%84/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=taking-requests-for-webcore-shaping-%25d8%25b7%25d9%2584%25d8%25a8%25d8%25a7%25d8%25aa-%25d8%25aa%25d8%25b9%25d8%25b1%25d9%258a%25d8%25a8-%25d8%25a7%25d9%2584%25d9%2585%25d8%25aa%25d8%25b5%25d9%2581%25d8%25ad-%25d9%2588%25d8%25a7%25d9%2584%25d8%25ac%25d9%258a%25d9%2585%25d9%258a%25d9%2584</link>
		<comments>http://blog.devasque.com/2011/03/26/taking-requests-for-webcore-shaping-%d8%b7%d9%84%d8%a8%d8%a7%d8%aa-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a7%d9%84%d9%85%d8%aa%d8%b5%d9%81%d8%ad-%d9%88%d8%a7%d9%84%d8%ac%d9%8a%d9%85%d9%8a%d9%84/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 13:17:45 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[العربية]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=93</guid>
		<description><![CDATA[ما هو تعريب libwebcore.so ؟ تعريب هذا الملف يمّكنك من مشاهدة المواقع والكلمات العربية في المتصفح وبرنامج الجيميل. لمشاهدة الملفات المعربة حالياً،]]></description>
				<content:encoded><![CDATA[<div style="text-align:justify;" dir="rtl" lang="ar">
<font face=Tahoma><br />
<font size=4 color=green>ما هو تعريب libwebcore.so ؟</font></p>
<p>تعريب هذا الملف يمّكنك من مشاهدة المواقع والكلمات العربية في المتصفح وبرنامج الجيميل.</p>
<p>لمشاهدة الملفات المعربة حالياً، <a href="http://blog.devasque.com/?page_id=109"">اذهب هنا</a></p>
<p>هنا نأخذ طلبات تعريب libwebcore.so لأجهزتكم الخاصة. إذا كان هناك طلب كبير فإن شاء الله ندرج التعريب في هذا الموقع. فقط اكتب طلبك في في التعليقات وإن شاء الله نتكفّل بتعريبه<br />
يجب عليكم أيضاً إدراج أي نسخة من أندرويد متواجدة في الهاتف ويفضل أيضاً معرفة نسخة الروم بشكل خاص.</p>
<p><font color=red>الرومات التي لا استطيع تعريبها حالياً لعدم توافر المصدر</font></p>
<ul>
<li>Sense UI Gingerbread</li>
<li>MIUI</li>
</ul>
<p>ملاحظة: لا يمكننا تعريب متصفح رومات MIUI وذلك لأن المصدر مغلق من قبل المطورين الصينيين</p>
<p><i><br />
تحديث 14/4/2011: بعض الإخوان طلبوا شرح كيفية تعريب المتصفح. الباتش المستخدم هو من  <a href="https://github.com/Y6b/android_external_webkit/commit/8637f8f6b8f78aef69a1a1919c9df54358513706" target="_blank">هذا المصدر</a>. بعد رفع تعديلات الشركات لwebcore، تقوم بعمل الباتش ومن ثم recompile على أجهزة linux.</i><br />
<font color=red size=4>تحديث بتاريخ 16/8/2011: لقد تم اغلاق هذه الصفحة ومنع الطلبات في الوقت الراهن لإني قد توصلت مع أخي brightidea لحل أفضل وسيكون تعريب المتصفح متوافر مع framework في صفحة &#8220;طريقة التعريب&#8221;.<br />
</font><br />
</font></p>
</div>
<div style="text-align;justify;" dir"ltr" lang="en">
<font color=green size=4><br />
What is libwebcore.so and why arabize it ?</font></p>
<p>libwebcore.so is responsible for shaping arabic text in the Browser and Gmail apps. My work on framework will arabize everything else for you.</p>
<p>for a list of completed patched cores, click <a href="http://blog.devasque.com/?page_id=109">Here</a></p>
<p>If you&#8217;re interested in getting this file arabized, please post your request in the comments section. Make sure you mention which Android version is on the device and what ROM specifically is it based on (CM, Sense UI, AOSP). If the device/rom combo is popular enough, I&#8217;ll try to put it up on this website for you to download.</p>
<p><font color=red>Current roms that I cannot patch due to sources not being out <i>yet</i></font></p>
<ul>
<li>Sense UI Gingerbread</li>
<li>MIUI</li>
</ul>
<p><i>Update 14/4/2011: Some folks are asking about the method of arabizing libwebcore. I&#8217;m applying <a href="https://github.com/Y6b/android_external_webkit/commit/8637f8f6b8f78aef69a1a1919c9df54358513706" target="_blank">this patch</a>. You&#8217;ll need to override android&#8217;s sources with the device&#8217;s specific webkit (e.g. HTC&#8217;s Hero webkit, Samsung Galaxy&#8217;s webkit) and then apply the patch and recompile.</i><br />
<br />
<font color=red size=4><br />
Update 16/8/2011: I have disabled the comments section on this page because a genius by the name of <b>brightidea</b> has found a global solution for arabizing libwebcore.so. This means we won&#8217;t have to recompile source code anymore and his utility should be able to patch non-arabized libwebcore.so files from the manufacturer. Go to &#8220;apply the patch&#8221; page for details on how to get these files in correct RTL format.</font>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/03/26/taking-requests-for-webcore-shaping-%d8%b7%d9%84%d8%a8%d8%a7%d8%aa-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a7%d9%84%d9%85%d8%aa%d8%b5%d9%81%d8%ad-%d9%88%d8%a7%d9%84%d8%ac%d9%8a%d9%85%d9%8a%d9%84/feed/</wfw:commentRss>
		<slash:comments>211</slash:comments>
		</item>
		<item>
		<title>Arabic for Gingerbread ROMs</title>
		<link>http://blog.devasque.com/2011/03/23/arabic-for-gingerbread-roms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arabic-for-gingerbread-roms</link>
		<comments>http://blog.devasque.com/2011/03/23/arabic-for-gingerbread-roms/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 02:39:34 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=81</guid>
		<description><![CDATA[Some more progress and updates . . . I have just successfully compiled and tested the arabic patch on AOSP 2.3.3. My old patch for 2.2 AOSP worked for all the files except TextUtils.java which Google added a new method &#8230; <a href="http://blog.devasque.com/2011/03/23/arabic-for-gingerbread-roms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some more progress and updates . . .</p>
<p>I have just successfully compiled and tested the arabic patch on AOSP 2.3.3. My old patch for 2.2 AOSP worked for all the files except TextUtils.java which Google added a new method to. Replacing it with CM7&#8242;s TextUtils.java file, which is based on Gingerbread, fixed that error.</p>
<p>HTC&#8217;s implementation of Gingerbread broke another file, Layout.java which they added a couple of new methods to. The fix was to manually edit HTC&#8217;s Layout.smali file and replace the strings <strong>getChars</strong> (3x occurrences) with <strong>getCharsDraw</strong> manually. A proper fix would be to include a utility that searches and replaces for these strings. This will guarantee functionality across all devices that sport Eclair and higher versions of Android.</p>
<p>Edit: HTC&#8217;s Gingerbread Sense UI also modified internal class CharWrapper in TextView.java. A small modification to the smali file in method <strong>&#8220;access&#8221;</strong>&#8216;s signature fixed it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/03/23/arabic-for-gingerbread-roms/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Arabic Shaping for Android 2.2 and 2.2.1</title>
		<link>http://blog.devasque.com/2011/03/08/arabic-shaping-for-android-2-2-and-2-2-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arabic-shaping-for-android-2-2-and-2-2-1</link>
		<comments>http://blog.devasque.com/2011/03/08/arabic-shaping-for-android-2-2-and-2-2-1/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 19:27:45 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=71</guid>
		<description><![CDATA[I have made a patch that should work on deodexed Android 2.2 and 2.2.1 devices to support shaping arabic in framework.jar Please use the links to the right for more details on how to apply them. Most available patches are &#8230; <a href="http://blog.devasque.com/2011/03/08/arabic-shaping-for-android-2-2-and-2-2-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have made a patch that should work on deodexed Android 2.2 and 2.2.1 devices to support shaping arabic in framework.jar</p>
<p>Please use the links to the right for more details on how to apply them.</p>
<p>Most available patches are either not open sourced or are device specific. I attempt to make a global solution to our problem by providing a patching tool that should apply to any ROM by replacing the specific patched files. This should hopefully not break device specific implementations such as TouchWiz from Samsung, Sense UI from HTC or Motoblur from Motorola.</p>
<p>I have been following work for Y6b and dudyk over at github. Unfortunately both of their work was made for Cyanogenmod and not for AOSP. They also do change code in the JNI implementation which further makes this harder to port to several devices. I changed their code slightly to not require these modified JNI implementations and to have an independent framework.jar that will be easy to port.</p>
<p>Most of my code on github is composed of y6b&#8217;s and dudyk&#8217;s (see source code page for details). Namely I used y6b&#8217;s implementation for the shaping by importing the ICU4J library, and dudyk&#8217;s RTL alignments.</p>
<p>Again, all details should be on the two pages linked on the right panel.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/03/08/arabic-shaping-for-android-2-2-and-2-2-1/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>طريقة تعريب أندرويد بنظام 2.2 و 2.2.1</title>
		<link>http://blog.devasque.com/2011/02/14/%d8%b7%d8%b1%d9%8a%d9%82%d8%a9-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a3%d9%86%d8%af%d8%b1%d9%88%d9%8a%d8%af-%d8%a8%d9%86%d8%b8%d8%a7%d9%85-2-2-%d9%88-2-2-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25d8%25b7%25d8%25b1%25d9%258a%25d9%2582%25d8%25a9-%25d8%25aa%25d8%25b9%25d8%25b1%25d9%258a%25d8%25a8-%25d8%25a3%25d9%2586%25d8%25af%25d8%25b1%25d9%2588%25d9%258a%25d8%25af-%25d8%25a8%25d9%2586%25d8%25b8%25d8%25a7%25d9%2585-2-2-%25d9%2588-2-2-1</link>
		<comments>http://blog.devasque.com/2011/02/14/%d8%b7%d8%b1%d9%8a%d9%82%d8%a9-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a3%d9%86%d8%af%d8%b1%d9%88%d9%8a%d8%af-%d8%a8%d9%86%d8%b8%d8%a7%d9%85-2-2-%d9%88-2-2-1/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:51:04 +0000</pubDate>
		<dc:creator>madmack</dc:creator>
				<category><![CDATA[arabic shaping]]></category>
		<category><![CDATA[العربية]]></category>

		<guid isPermaLink="false">http://blog.devasque.com/?p=46</guid>
		<description><![CDATA[بسم الله الرحمن الرحيم في هذا الموقع يتم ادراج تحديثات framework.jar والتي تقوم بشبك الحروف العربية في أنظمة أندرويد. للمزيد من التفاصيل، يرجى زيارة الصفحة التالية طريقة التعريب بإذن الله سأضع آخر التحديثات في تلك الصفحة أعلاه. يرجى ترك تعليقاتكم &#8230; <a href="http://blog.devasque.com/2011/02/14/%d8%b7%d8%b1%d9%8a%d9%82%d8%a9-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a3%d9%86%d8%af%d8%b1%d9%88%d9%8a%d8%af-%d8%a8%d9%86%d8%b8%d8%a7%d9%85-2-2-%d9%88-2-2-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div style="text-align:justify;" dir="rtl" lang="ar"> <font size=4 Face=Tahoma><br />
بسم الله الرحمن الرحيم</p>
<p>في هذا الموقع يتم ادراج تحديثات framework.jar والتي تقوم بشبك الحروف العربية في أنظمة أندرويد.</p>
<p>للمزيد من التفاصيل، يرجى زيارة الصفحة التالية<br />
<a href="http://blog.devasque.com/?page_id=11">طريقة التعريب</a></p>
<p>بإذن الله سأضع آخر التحديثات في تلك الصفحة أعلاه.</p>
<p>يرجى ترك تعليقاتكم في هذه الصفحة، وانشالله سأقوم بالتحديث عند علمي بالمشاكل</p>
<p></font>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.devasque.com/2011/02/14/%d8%b7%d8%b1%d9%8a%d9%82%d8%a9-%d8%aa%d8%b9%d8%b1%d9%8a%d8%a8-%d8%a3%d9%86%d8%af%d8%b1%d9%88%d9%8a%d8%af-%d8%a8%d9%86%d8%b8%d8%a7%d9%85-2-2-%d9%88-2-2-1/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
