December 2009
8 posts
3 tags
كيف تساعد في تجريب دعم العربية في سكريبس؟
اقوم حاليا بمحاولة اضافة دعم اللغة العربية الى برنامج النشر المكتبي scribus, و طبعا نحتاج الى متطوعين للتجريب و التبليغ عن المشاكل. حاليا النقاشات كلها تدور في منتدى مجتمع لينوكس العربي http://www.linuxac.org/forum/linuxac80/thread31840.html تعليمات التحميل و التشغيل قم بتحميل الكود: git clone git://github.com/hasenj/scribus.git --depth 1 cd scribus git checkout -t origin/hasen ثم قم ببناء...
Dec 29th
3 tags
wops, embedding levels, again
Last time I thought I “got” embedding levels rights. Turns out, not really! My mistake is I made some assumptions about the structure: I thought a 222 embedding run must be within a 11111 run, so it would be 11222221111, but as it turns out, it could simply be 22211. The code I posted in my previous post does not work for this case. Man, I should’ve just read the specs from...
Dec 29th
3 tags
progress on scribus' complex layout
It turned out there were still many issues left since my last post. (one of them I blogged about in the previous post). Big Thanks to Zayed’s for testing and reporting issues. There’s still much to do, but the biggest show-stopper now is when english words cross line boundaries (which is something I didn’t think about before). This could arguably be the intended...
Dec 28th
3 tags
The real meaning of embedding levels
As I usually do with a lot of things, I tend to skim through, glossing over the details. And so, I thought embedding levels were merely a coding scheme that I can ignore and just pretend that an “odd” level means an RTL run. (I’m referring to my adventure with adding arabic support (complex layout) to scribus’s text frame). I was wrong. The problem manifests itself...
Dec 27th
3 tags
Scribus Shaping
Behold: Actually .. the code is very crude. This is done using HarfBuzz, but not to its fullest, and there are lots of holes that I still don’t know how to fill, and a bunch of work-arounds that shouldn’t really happen. Here is one problem for instance: when a sentence contains a lam-alef (ligature), the last (x) character in its run get repeated: Quick Update: I think I...
Dec 26th
3 tags
Scribus & GNU FriBidi
NOTE: Please do not use this as a reference or tutorial for fribidi, it contains incorrect information, I’m keeping it unchanged just for the historical record. Some stuff here is just plain wrong. In my previous post I talked briefly about scribus’ problem. The result I got so far depended solely on GNU FriBidi. No HarfBuzz yet. It’s true that HarfBuzz is the library to...
Dec 22nd
3 tags
scribus, bidi, and arabic shaping
Scribus has had this bug report regarding Arabic support for five years now (it’s been open since December 2004, and now it’s December 2009): #1079 But wait, what is Scribus in the first place? Well, it’s a desktop publishing program, and it’s free (FOSS). I’m actually not an active user of the program. I got introduced to the problem by OMLX, during the...
Dec 19th
3 tags
دعم اللغة العربية في markdown
هل سمعت من قبل بـ Markdown؟ انها لغة الترميز اللتي يستخدمها موقع Stackoverflow و اخواته للكتابة و النشر, منذ ان تعلمتها هناك و انا احبها و اظن انها الطريقة الوحيدة المريحة لكتابة مواضيع/تدوينات برمجية تخيل عندما تكتب تدوينة في wordpress مثلا و تريد اضافة كود, يجب ان تدخل اوسمة html يدويا, يعني <pre><code> الخ, بينما في Markdown فالكود هو مجرد فقرة مدفوعة للامام باربع مسافات امام كل...
Dec 19th