<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1059</id>
	<title>Nabble - Free Desktop - fribidi</title>
	<updated>2009-11-20T14:35:09Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Free-Desktop---fribidi-f1059.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Free-Desktop---fribidi-f1059.html" />
	<subtitle type="html">GNU FriBidi, the implementation of Unicode Bidirectional Algorithm technical discussion AND user questions.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26451354</id>
	<title>Re: conjunction between chars</title>
	<published>2009-11-20T14:35:09Z</published>
	<updated>2009-11-20T14:35:09Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">Hi Milad,
&lt;br&gt;&lt;br&gt;Are you using FriBidi 0.19.x? &amp;nbsp;The 0.10 series don't do Arabic shaping.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;On 11/20/2009 05:10 PM, Milad Rastian wrote:
&lt;br&gt;&amp;gt; Hi fribidi !
&lt;br&gt;&amp;gt; I have a little code which use fribid lib(attached that), it works. but
&lt;br&gt;&amp;gt; when I test it in gnome-terminal chars are not conjunction together,
&lt;br&gt;&amp;gt; should I use another function &amp;nbsp;to conjunct chars ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451354&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/conjunction-between-chars-tp26451125p26451354.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451125</id>
	<title>conjunction between chars</title>
	<published>2009-11-20T14:10:28Z</published>
	<updated>2009-11-20T14:10:28Z</updated>
	<author>
		<name>Milad Rastian</name>
	</author>
	<content type="html">Hi fribidi !&lt;br&gt;I have a little code which use fribid lib(attached that), it works. but when I test it in gnome-terminal chars are not conjunction together, &lt;br&gt;should I use another function  to conjunct chars ?&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;-- &lt;br&gt;/--------------------&lt;br&gt;Milad Rastian&lt;br&gt;&lt;a href=&quot;http://milad.rastian.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://milad.rastian.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[milad02.c]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;&lt;br&gt;&lt;br&gt;#include &amp;quot;fribidi.h&amp;quot;
&lt;br&gt;&lt;br&gt;#include &amp;lt;string.h&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;//`#include &amp;lt;stdarg.h&amp;gt;
&lt;br&gt;&lt;br&gt;#define MAX_STR_LEN 65000
&lt;br&gt;&lt;br&gt;//gcc tests.c &amp;nbsp;-lfribidi -o milad
&lt;br&gt;&lt;br&gt;#define ALLOCATE(tp,ln) ((tp *) malloc (sizeof (tp) * (ln)))
&lt;br&gt;&lt;br&gt;&lt;br&gt;void main(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; FriBidiChar *u_logical_str, *u_visual_str; &amp;nbsp;/* unicode strings .... */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int len, alloc_len;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FriBidiCharType base_dir;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FriBidiStrIndex *position_L_to_V_list;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FriBidiStrIndex *position_V_to_L_list;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FriBidiLevel &amp;nbsp; &amp;nbsp;*embedding_level_list;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;base_dir = FRIBIDI_TYPE_RTL;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char &amp;nbsp;*out_string;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char &amp;nbsp;*in_string=&amp;quot;من می رم&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;len = strlen(in_string);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alloc_len = len+1;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u_logical_str = &amp;nbsp;ALLOCATE(FriBidiChar,alloc_len);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u_logical_str = ALLOCATE (FriBidiChar,alloc_len);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u_visual_str = ALLOCATE (FriBidiChar,alloc_len);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; position_L_to_V_list = &amp;nbsp;ALLOCATE (FriBidiStrIndex,alloc_len);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; position_V_to_L_list = ALLOCATE (FriBidiStrIndex,alloc_len);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; embedding_level_list = ALLOCATE(FriBidiLevel,alloc_len);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(in_string[len-1] == '\n') {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in_string[len-1] = '\0';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int char_set_num;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char *char_set;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char_set = &amp;quot;UTF-8&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char_set_num = fribidi_parse_charset (char_set);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; len = fribidi_charset_to_unicode(char_set_num, in_string, len, u_logical_str);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out_string = ALLOCATE(char,alloc_len);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fribidi_log2vis(u_logical_str, len, &amp;base_dir, u_visual_str, position_L_to_V_list, position_V_to_L_list, embedding_level_list); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fribidi_unicode_to_charset(char_set_num, u_visual_str, len, out_string);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;%s\n&amp;quot;,out_string);
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451125&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/conjunction-between-chars-tp26451125p26451125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25652832</id>
	<title>Re: Implementation of X6 in the FriBidi library</title>
	<published>2009-09-28T13:55:19Z</published>
	<updated>2009-09-28T13:55:19Z</updated>
	<author>
		<name>Eli Zaretskii</name>
	</author>
	<content type="html">&amp;gt; Date: Mon, 28 Sep 2009 15:58:12 -0400
&lt;br&gt;&amp;gt; From: Behdad Esfahbod &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25652832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;behdad@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25652832&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not sure I understand the issue you are raising completely. &amp;nbsp;However, I 
&lt;br&gt;&amp;gt; think it's a non-issue since BN characters are conceptually removed in X9, so 
&lt;br&gt;&amp;gt; it doesn't matter.
&lt;br&gt;&lt;br&gt;It does matter in an implementation that retains the format codes
&lt;br&gt;instead of removing them, according to section 5.2 of UAX#9.
&lt;br&gt;&lt;br&gt;&amp;gt; However, there is a change around these rules coming in 
&lt;br&gt;&amp;gt; the next update to UAX#9 that explicitly supports the code as is, see:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.unicode.org/reports/tr9/tr9-20.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unicode.org/reports/tr9/tr9-20.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does that address your concern?
&lt;br&gt;&lt;br&gt;Yes, thank you.
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25652832&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementation-of-X6-in-the-FriBidi-library-tp25649287p25652832.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25651940</id>
	<title>Re: Implementation of X6 in the FriBidi library</title>
	<published>2009-09-28T12:58:12Z</published>
	<updated>2009-09-28T12:58:12Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">Hi Eli,
&lt;br&gt;&lt;br&gt;I'm not sure I understand the issue you are raising completely. &amp;nbsp;However, I 
&lt;br&gt;think it's a non-issue since BN characters are conceptually removed in X9, so 
&lt;br&gt;it doesn't matter. &amp;nbsp;However, there is a change around these rules coming in 
&lt;br&gt;the next update to UAX#9 that explicitly supports the code as is, see:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.unicode.org/reports/tr9/tr9-20.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unicode.org/reports/tr9/tr9-20.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Does that address your concern?
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;On 09/28/2009 01:17 PM, Eli Zaretskii wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry if this is a FAQ, and please point me at it if it is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The file fribidi-bidi.c in the FriBidi library has this code:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;for_run_list (pp, main_run_list)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FriBidiCharType this_type = RL_TYPE (pp);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (FRIBIDI_IS_EXPLICIT_OR_BN (this_type))
&lt;br&gt;&amp;gt; 	{
&lt;br&gt;&amp;gt; 	 &amp;nbsp;...
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;gt; 	{
&lt;br&gt;&amp;gt; 	 &amp;nbsp;/* X6. For all types besides RLE, LRE, RLO, LRO, and PDF:
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; a. Set the level of the current character to the current
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; embedding level.
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; b. Whenever the directional override status is not neutral,
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; reset the current character type to the directional override
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; status. */
&lt;br&gt;&amp;gt; 	 &amp;nbsp;RL_LEVEL (pp) = level;
&lt;br&gt;&amp;gt; 	 &amp;nbsp;if (!FRIBIDI_IS_NEUTRAL (override))
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;RL_TYPE (pp) = override;
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Unless I'm misreading the code, this means that X6 is not applied to
&lt;br&gt;&amp;gt; characters whose original type is &amp;quot;WEAK BN&amp;quot;. &amp;nbsp;However, UAX#9 does not
&lt;br&gt;&amp;gt; exempt WEAK BN characters from the override, so this looks like being
&lt;br&gt;&amp;gt; against the UAX#9 rules.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I missing something? are there good reasons for behaving like that?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; fribidi mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25651940&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25651940&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementation-of-X6-in-the-FriBidi-library-tp25649287p25651940.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25649287</id>
	<title>Implementation of X6 in the FriBidi library</title>
	<published>2009-09-28T10:15:27Z</published>
	<updated>2009-09-28T10:15:27Z</updated>
	<author>
		<name>Eli Zaretskii</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Sorry if this is a FAQ, and please point me at it if it is.
&lt;br&gt;&lt;br&gt;The file fribidi-bidi.c in the FriBidi library has this code:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; for_run_list (pp, main_run_list)
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; FriBidiCharType this_type = RL_TYPE (pp);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (FRIBIDI_IS_EXPLICIT_OR_BN (this_type))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* X6. For all types besides RLE, LRE, RLO, LRO, and PDF:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a. Set the level of the current character to the current
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;embedding level.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b. Whenever the directional override status is not neutral,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reset the current character type to the directional override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;status. */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RL_LEVEL (pp) = level;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!FRIBIDI_IS_NEUTRAL (override))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RL_TYPE (pp) = override;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;Unless I'm misreading the code, this means that X6 is not applied to
&lt;br&gt;characters whose original type is &amp;quot;WEAK BN&amp;quot;. &amp;nbsp;However, UAX#9 does not
&lt;br&gt;exempt WEAK BN characters from the override, so this looks like being
&lt;br&gt;against the UAX#9 rules.
&lt;br&gt;&lt;br&gt;Am I missing something? are there good reasons for behaving like that?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25649287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementation-of-X6-in-the-FriBidi-library-tp25649287p25649287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24169762</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-23T09:26:22Z</published>
	<updated>2009-06-23T09:26:22Z</updated>
	<author>
		<name>Shachar Shemesh-12</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body dir=&quot;ltr&quot; bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
أحمد المحمودي wrote:
&lt;blockquote cite=&quot;mid:20090623150409.GC5585@ants.selfip.net&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hello,&lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;Are you looking for the string size in characters or in bytes?
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;---end quoted text---

  Anyone of them is fine.

  &lt;/pre&gt;
&lt;/blockquote&gt;
Then allocate enough storage (character count * 4 ought to be enough),
do the reordering + shaping, and then use strlen. That will give you
number of bytes.&lt;br&gt;
&lt;br&gt;
Yes, if you need precise storage, you may need to copy the string again
after that, but there is little that can be done about that. There is
no way to know how much memory will be needed without actually
performing the operations, so the only way to do this without temporary
storage is to do it twice. This, typically, costs more than using
temporary storage.&lt;br&gt;
&lt;br&gt;
Shachar&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.lingnu.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lingnu.com&lt;/a&gt;
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24169762&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24169762.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24168083</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-23T08:04:09Z</published>
	<updated>2009-06-23T08:04:09Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;On Tue, Jun 23, 2009 at 05:40:03PM +0300, Shachar Shemesh wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;Also, &amp;quot;sizeof(us)&amp;quot; doesn't return what you meant.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;Yes, I noticed that it returns the size of pointer type. Well,
&lt;br&gt;&amp;gt; &amp;gt;what I &amp;nbsp; need is to know the size of the string after log2vis,
&lt;br&gt;&amp;gt; &amp;gt;because for &amp;nbsp; example if I got the 2 characters ل &amp; ا after each
&lt;br&gt;&amp;gt; &amp;gt;other, they get &amp;nbsp; translated to a single character, hence the
&lt;br&gt;&amp;gt; &amp;gt;string size decreases. So &amp;nbsp; how do I get the resulting string size
&lt;br&gt;&amp;gt; &amp;gt;?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Are you looking for the string size in characters or in bytes?
&lt;/div&gt;---end quoted text---
&lt;br&gt;&lt;br&gt;&amp;nbsp; Anyone of them is fine.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24168083&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24168083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24167947</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-23T07:40:03Z</published>
	<updated>2009-06-23T07:40:03Z</updated>
	<author>
		<name>Shachar Shemesh-12</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body dir=&quot;ltr&quot; bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
أحمد المحمودي wrote:
&lt;blockquote cite=&quot;mid:20090623141546.GB5585@ants.selfip.net&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hello,

On Mon, Jun 22, 2009 at 03:34:41PM -0400, Behdad Esfahbod wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;You are not allocating enough for outstr which is UTF8.  Try
allocating 4 bytes per character. That is, (size * 4).
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  Thanks, but please notice that instr is also UTF8, and although it 
  consists of 13 characters, yet its size, as returned by sizeof(instr), 
  is 26 !

  Anyways I tried your method, yet I still get the problem I mentioned 
  with: 

  base = FRIBIDI_PAR_RTL;

  That is printf(outstr); shows nothing !

  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;Also, &quot;sizeof(us)&quot; doesn't return what you meant.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  Yes, I noticed that it returns the size of pointer type. Well, what I 
  need is to know the size of the string after log2vis, because for 
  example if I got the 2 characters ل &amp;amp; ا after each other, they get 
  translated to a single character, hence the string size decreases. So 
  how do I get the resulting string size ?

  &lt;/pre&gt;
&lt;/blockquote&gt;
Are you looking for the string size in characters or in bytes?&lt;br&gt;
&lt;br&gt;
Shachar&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.lingnu.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lingnu.com&lt;/a&gt;
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24167947&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24167947.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24166962</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-23T07:15:46Z</published>
	<updated>2009-06-23T07:15:46Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;On Mon, Jun 22, 2009 at 03:34:41PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; You are not allocating enough for outstr which is UTF8. &amp;nbsp;Try
&lt;br&gt;&amp;gt; allocating 4 bytes per character. That is, (size * 4).
&lt;br&gt;&lt;br&gt;&amp;nbsp; Thanks, but please notice that instr is also UTF8, and although it 
&lt;br&gt;&amp;nbsp; consists of 13 characters, yet its size, as returned by sizeof(instr), 
&lt;br&gt;&amp;nbsp; is 26 !
&lt;br&gt;&lt;br&gt;&amp;nbsp; Anyways I tried your method, yet I still get the problem I mentioned 
&lt;br&gt;&amp;nbsp; with: 
&lt;br&gt;&lt;br&gt;&amp;nbsp; base = FRIBIDI_PAR_RTL;
&lt;br&gt;&lt;br&gt;&amp;nbsp; That is printf(outstr); shows nothing !
&lt;br&gt;&lt;br&gt;&amp;gt; Also, &amp;quot;sizeof(us)&amp;quot; doesn't return what you meant.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Yes, I noticed that it returns the size of pointer type. Well, what I 
&lt;br&gt;&amp;nbsp; need is to know the size of the string after log2vis, because for 
&lt;br&gt;&amp;nbsp; example if I got the 2 characters ل &amp; ا after each other, they get 
&lt;br&gt;&amp;nbsp; translated to a single character, hence the string size decreases. So 
&lt;br&gt;&amp;nbsp; how do I get the resulting string size ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24166962&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24166962.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24153902</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-22T12:34:41Z</published>
	<updated>2009-06-22T12:34:41Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">You are not allocating enough for outstr which is UTF8. &amp;nbsp;Try allocating 4 
&lt;br&gt;bytes per character. &amp;nbsp;That is, (size * 4). &amp;nbsp;Also, &amp;quot;sizeof(us)&amp;quot; doesn't return 
&lt;br&gt;what you meant.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;On 06/22/2009 02:36 PM, أحمد المحمودي wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Jun 22, 2009 at 02:10:35PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;&amp;gt; Attachment?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 06/22/2009 02:08 PM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Jun 22, 2009 at 01:32:00PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I may remove the obsolete notice in the future. &amp;nbsp;If your paragraph
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is one line of text, you can continue using that function,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---end quoted text---
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks for the info.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have made a small program to test if I understand fribidi right, it is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; attached with this email.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This program works fine as long as: &amp;nbsp;base = FRIBIDI_PAR_LTR;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yet if I set: &amp;nbsp;base = FRIBIDI_PAR_RTL;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I don't get anything printed in the printf statement.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; ---end quoted text---
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24153902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24153902.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24152955</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-22T11:36:45Z</published>
	<updated>2009-06-22T11:36:45Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">On Mon, Jun 22, 2009 at 02:10:35PM -0400, Behdad Esfahbod wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Attachment?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 06/22/2009 02:08 PM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt; &amp;gt;On Mon, Jun 22, 2009 at 01:32:00PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;I may remove the obsolete notice in the future. &amp;nbsp;If your paragraph
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;is one line of text, you can continue using that function,
&lt;br&gt;&amp;gt; &amp;gt;---end quoted text---
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Thanks for the info.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I have made a small program to test if I understand fribidi right, it is
&lt;br&gt;&amp;gt; &amp;gt;attached with this email.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;This program works fine as long as: &amp;nbsp;base = FRIBIDI_PAR_LTR;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Yet if I set: &amp;nbsp;base = FRIBIDI_PAR_RTL;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I don't get anything printed in the printf statement.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;---end quoted text---
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;#include &amp;lt;fribidi/fribidi.h&amp;gt;
&lt;br&gt;&lt;br&gt;void main(void) {
&lt;br&gt;&amp;nbsp; char instr[]=&amp;quot;السلام عليكم bro&amp;quot;;
&lt;br&gt;&amp;nbsp; FriBidiChar *us, *out_us;
&lt;br&gt;&amp;nbsp; char *outstr;
&lt;br&gt;&amp;nbsp; //FriBidiCharType base;
&lt;br&gt;&amp;nbsp; FriBidiParType base;
&lt;br&gt;&amp;nbsp; int size;
&lt;br&gt;&lt;br&gt;&amp;nbsp; size=sizeof(instr);
&lt;br&gt;&lt;br&gt;&amp;nbsp; us=(FriBidiChar *) malloc(size*sizeof(FriBidiChar));
&lt;br&gt;&amp;nbsp; out_us=(FriBidiChar *) malloc(size*sizeof(FriBidiChar));
&lt;br&gt;&amp;nbsp; outstr=(char *) malloc(size*sizeof(char));
&lt;br&gt;&lt;br&gt;&amp;nbsp; //base = FRIBIDI_TYPE_N;
&lt;br&gt;&amp;nbsp; base = FRIBIDI_PAR_LTR;
&lt;br&gt;&amp;nbsp; fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_UTF8, instr, size, us);
&lt;br&gt;&amp;nbsp; fribidi_log2vis(us, size, &amp;base, out_us, 0, 0, 0);
&lt;br&gt;&amp;nbsp; fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, out_us, size, outstr);
&lt;br&gt;&lt;br&gt;&amp;nbsp; printf(&amp;quot;%s\n&amp;quot;, outstr);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%d %d\n&amp;quot;, size, sizeof(us));
&lt;br&gt;&amp;nbsp; free(us);
&lt;br&gt;&amp;nbsp; free(out_us);
&lt;br&gt;&amp;nbsp; //free(outstr);
&lt;br&gt;}
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24152955&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24152955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24152559</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-22T11:10:35Z</published>
	<updated>2009-06-22T11:10:35Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">Attachment?
&lt;br&gt;&lt;br&gt;On 06/22/2009 02:08 PM, أحمد المحمودي wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Jun 22, 2009 at 01:32:00PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;&amp;gt; I may remove the obsolete notice in the future. &amp;nbsp;If your paragraph
&lt;br&gt;&amp;gt;&amp;gt; is one line of text, you can continue using that function,
&lt;br&gt;&amp;gt; ---end quoted text---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the info.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have made a small program to test if I understand fribidi right, it is
&lt;br&gt;&amp;gt; attached with this email.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This program works fine as long as: &amp;nbsp;base = FRIBIDI_PAR_LTR;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yet if I set: &amp;nbsp;base = FRIBIDI_PAR_RTL;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't get anything printed in the printf statement.
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24152559&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24152559.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24152517</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-22T11:08:55Z</published>
	<updated>2009-06-22T11:08:55Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">On Mon, Jun 22, 2009 at 01:32:00PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; I may remove the obsolete notice in the future. &amp;nbsp;If your paragraph
&lt;br&gt;&amp;gt; is one line of text, you can continue using that function,
&lt;br&gt;---end quoted text---
&lt;br&gt;&lt;br&gt;Thanks for the info.
&lt;br&gt;&lt;br&gt;I have made a small program to test if I understand fribidi right, it is 
&lt;br&gt;attached with this email.
&lt;br&gt;&lt;br&gt;This program works fine as long as: &amp;nbsp;base = FRIBIDI_PAR_LTR;
&lt;br&gt;&lt;br&gt;Yet if I set: &amp;nbsp;base = FRIBIDI_PAR_RTL;
&lt;br&gt;&lt;br&gt;I don't get anything printed in the printf statement.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24152517&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24152517.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24152455</id>
	<title>Re: fribidi_log2vis changed in 0.19.x ?</title>
	<published>2009-06-22T11:03:49Z</published>
	<updated>2009-06-22T11:03:49Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">They are compatible though.
&lt;br&gt;&lt;br&gt;On 06/22/2009 01:59 PM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I noticed a difference between 0.10.x&amp; &amp;nbsp;0.19.x in fribidi_log2vis
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;declaration:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;The third argument for this function in 0.10.x is of type
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;'FriBidiCharType *'. While in 0.19.x, the third argument is of type
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;'FriBidiParType *'.
&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24152455&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/fribidi_log2vis-changed-in-0.19.x---tp24152392p24152455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24152392</id>
	<title>fribidi_log2vis changed in 0.19.x ?</title>
	<published>2009-06-22T10:59:19Z</published>
	<updated>2009-06-22T10:59:19Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; I noticed a difference between 0.10.x &amp; 0.19.x in fribidi_log2vis 
&lt;br&gt;&amp;nbsp; declaration:
&lt;br&gt;&lt;br&gt;&amp;nbsp; The third argument for this function in 0.10.x is of type 
&lt;br&gt;&amp;nbsp; 'FriBidiCharType *'. While in 0.19.x, the third argument is of type 
&lt;br&gt;&amp;nbsp; 'FriBidiParType *'.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24152392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/fribidi_log2vis-changed-in-0.19.x---tp24152392p24152392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24151956</id>
	<title>Re: Obsolete fribidi_log2vis</title>
	<published>2009-06-22T10:32:00Z</published>
	<updated>2009-06-22T10:32:00Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">I may remove the obsolete notice in the future. &amp;nbsp;If your paragraph is one line 
&lt;br&gt;of text, you can continue using that function, otherwise, read how it is 
&lt;br&gt;implemented and that's what you can do. &amp;nbsp;Yes, it's calling four or five 
&lt;br&gt;functions instead, but that's what you have to do if shaping multi-line 
&lt;br&gt;paragraphs.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;On 06/22/2009 06:30 AM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I'm using fribidi 0.19.2, I was looking at the manpage of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;fribidi_log2vis, and it said that this function is now obsolete, and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;advises to use &amp;quot;other functions&amp;quot; instead. The question is, what
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;functions should be used instead ?
&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24151956&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24151956.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24151382</id>
	<title>Re: character joining and shaping</title>
	<published>2009-06-22T09:58:12Z</published>
	<updated>2009-06-22T09:58:12Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">Fribidi 0.10.x does NOT support shaping. &amp;nbsp;You need fribidi 0.19.x.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;On 06/22/2009 12:07 PM, Sencer Sultanoglu wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I've compiled fribidi 0.10.9 on Fedora 9. I read in the list that it
&lt;br&gt;&amp;gt; supports character joining and shaping, I use utf-8, and see joined
&lt;br&gt;&amp;gt; characters using printf on the console. But my application cannot
&lt;br&gt;&amp;gt; display joined characters. I downloaded font ( bdavat ) from :
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;rfn=en_downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;rfn=en_downloads&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;rfn=en_downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;rfn=en_downloads&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; and I converted it to bdf format in order to use in my application. ttf
&lt;br&gt;&amp;gt; to bdf conversion seems to be correct, for example : 0x0621 - 0x064A and
&lt;br&gt;&amp;gt; 0xFE81 - 0xFEFC contains Arabic characters.
&lt;br&gt;&amp;gt; I've also attached samples from the application.
&lt;br&gt;&amp;gt; What might be the problem?
&lt;br&gt;&amp;gt; Thank you,
&lt;br&gt;&amp;gt; Sencer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; fribidi mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24151382&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;/div&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24151382&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/character-joining-and-shaping-tp24150726p24151382.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24150960</id>
	<title>Re: character joining and shaping</title>
	<published>2009-06-22T09:38:06Z</published>
	<updated>2009-06-22T09:38:06Z</updated>
	<author>
		<name>Dov Grobgeld-2</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;This is not really answering your question, but I believe that shaping is too difficult to do without a good engine, and even though fribidi can take care of the character order and the glyph substitution, there is much more than that to get good looking output, as well as selections, cursor hit detection, etc. And that&amp;#39;s what you get when you use a good layout engine like Pango with or without Gtk or Qt. Unless you have some old application that you want to translate, you should move to a modern engine.&lt;br&gt;
&lt;br&gt;Just my ¢2...&lt;br&gt;&lt;br&gt;Dov&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/6/22 Sencer Sultanoglu &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24150960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sencer.sultanoglu@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;






&lt;div bgcolor=&quot;#ffffff&quot;&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;Hi,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;I&amp;#39;ve compiled fribidi 0.10.9 on Fedora 9. I read in 
the list that it supports character joining and shaping, I use utf-8, and see 
joined characters using printf on the console. But my application cannot display 
joined characters. I downloaded font ( bdavat ) from :&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;a href=&quot;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;amp;rfn=en_downloads&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;amp;rfn=en_downloads&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;and I converted it to bdf format in order to use in 
my application. ttf to bdf conversion seems to be correct, for 
example : 0x0621 - 0x064A and 0xFE81 - 0xFEFC contains Arabic 
characters.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;I&amp;#39;ve also attached samples from the 
application.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;What might be the problem?&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;Thank you,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;Sencer&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;/font&gt; &lt;/div&gt;&lt;/div&gt;
&lt;br&gt;_______________________________________________&lt;br&gt;
fribidi mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24150960&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24150960&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/character-joining-and-shaping-tp24150726p24150960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24150726</id>
	<title>character joining and shaping</title>
	<published>2009-06-22T09:07:47Z</published>
	<updated>2009-06-22T09:07:47Z</updated>
	<author>
		<name>Sencer Sultanoglu</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-9&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3492&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I've compiled fribidi 0.10.9 on Fedora 9. I read in 
the list that it supports character joining and shaping, I use utf-8, and see 
joined characters using printf on the console. But my application cannot display 
joined characters. I downloaded font ( bdavat ) from :&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;A href=&quot;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;amp;rfn=en_downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bornaray.com/en_downloads.asp?fn=per_downloads&amp;amp;rfn=en_downloads&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;and I converted it to bdf format in order to use in 
my application. ttf to bdf conversion&amp;nbsp;seems to be correct,&amp;nbsp;for 
example&amp;nbsp;: 0x0621 - 0x064A and 0xFE81 - 0xFEFC contains Arabic 
characters.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I've also attached&amp;nbsp;samples from the 
application.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;What might be the problem?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Thank you,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Sencer&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24150726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;example.PNG&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/24150726/0/example.PNG&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;example2.PNG&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/24150726/1/example2.PNG&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/character-joining-and-shaping-tp24150726p24150726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24145138</id>
	<title>Obsolete fribidi_log2vis</title>
	<published>2009-06-22T03:30:46Z</published>
	<updated>2009-06-22T03:30:46Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; I'm using fribidi 0.19.2, I was looking at the manpage of 
&lt;br&gt;&amp;nbsp; fribidi_log2vis, and it said that this function is now obsolete, and 
&lt;br&gt;&amp;nbsp; advises to use &amp;quot;other functions&amp;quot; instead. The question is, what 
&lt;br&gt;&amp;nbsp; functions should be used instead ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 &amp;nbsp;B176 BC19 6A94 EDDD A1B7
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24145138&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obsolete-fribidi_log2vis-tp24145138p24145138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23489721</id>
	<title>Mattias Karlsson is out of the office.</title>
	<published>2009-05-11T12:02:55Z</published>
	<updated>2009-05-11T12:02:55Z</updated>
	<author>
		<name>Mattias.Karlsson</name>
	</author>
	<content type="html">&lt;br&gt;I will be out of the office starting &amp;nbsp;2009-04-10 and will be back
&lt;br&gt;2009-09-01.
&lt;br&gt;&lt;br&gt;I'm on parental leave and will be back in September. I will read my mail
&lt;br&gt;but don't expect an answer back as quick as normal.
&lt;br&gt;/Mattias
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23489721&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mattias-Karlsson-is-out-of-the-office.-tp23489721p23489721.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23478154</id>
	<title>Compiling fribidi-0.19.2 in MinGW/MSYS environment, fix to benchmark.c file</title>
	<published>2009-05-11T00:00:47Z</published>
	<updated>2009-05-11T00:00:47Z</updated>
	<author>
		<name>mailmur</name>
	</author>
	<content type="html">&lt;br&gt;(winXP, msys-1.0.11, mingw_runtime-3.15.2, w32api-3.13-mingw32-dev, gcc-4.2.1-sjlj)
&lt;br&gt;Hello, I was trying to compile fribidi-0.19.2 source in MinGW/MSYS environment. This environment does not have a sys/times.h header file out of the box.
&lt;br&gt;&lt;br&gt;Step 1 is what probably could go to the official source code. I am not sure about step2 if it created any side effects on compiling.
&lt;br&gt;&lt;br&gt;1) fix to utime(void) method
&lt;br&gt;bin/fribidi-benchmark.c file has a minor bug, it uses a a conditional #if HAVE_SYS_TIMES_H+0 tag in import and utime(void) method.
&lt;br&gt;&lt;br&gt;Able to compile one must move &amp;quot;struct tms tb;&amp;quot; row inside #if...#endif block, initial sys/times.h was not enabled so struct is not found.
&lt;br&gt;&lt;br&gt;2) lib/Makefile gives &amp;quot;two or more extra-symbols are not allowed&amp;quot; error message. I had to edit makefile and clear am__append_1 variable then went ok.
&lt;br&gt;&lt;br&gt;&lt;br&gt;See here my steps to compile fribidi package in MinGW/MSYS console.
&lt;br&gt;fribidi-0.19.2.tar.gz
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ tar xvfz zipfile
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ cd libfolder
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ ./configure --prefix=/mingw 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit lib/Makefile and comment extra export-symbols argument
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; am__append_1 = 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ##am__append_1 = -export-symbols $(srcdir)/fribidi.def	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit bin/fribidi-benchmark.c, method utime(void), move &amp;quot;struct tms tb;&amp;quot; inside #if....#else block
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;static double utime (void) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #if HAVE_SYS_TIMES_H+0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; struct tms tb;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; times (&amp;tb);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0.01 * tb.tms_utime;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #warning Please fill in here to use other functions for determining time.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ make
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ make install
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23478154&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Compiling-fribidi-0.19.2-in-MinGW-MSYS-environment%2C-fix-to-benchmark.c-file-tp23478154p23478154.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22790166</id>
	<title>Re: Question about symbols &amp; API/ABI compatability</title>
	<published>2009-03-30T11:45:11Z</published>
	<updated>2009-03-30T11:45:11Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 03/29/2009 11:43 AM, أحمد المحمودي wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Mar 28, 2009 at 04:59:31PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 03/28/2009 05:21 AM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks for the help, I got another question: are there any symbols in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; the file I sent you last time, that are *NOT* missing (or are added by
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 0.19.x) yet they are actually internal detail ?
&lt;br&gt;&amp;gt;&amp;gt; Can you send me a listing of all the symbols you are seeing in 0.19.x?
&lt;br&gt;&amp;gt; ---end quoted text---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; New symbols in 0.19.x:
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_debug_status@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_bidi_type@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_bidi_type_name@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_bidi_types@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_joining_type@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_joining_type_name@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_joining_types@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_par_direction@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_par_embedding_levels@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_join_arabic@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_reorder_line@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_shape@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_shape_arabic@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_shape_mirroring@Base 0.19.1
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_unicode_version@Base 0.19.1
&lt;/div&gt;&lt;br&gt;These look good.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; Symbols that still exist from 0.10.9:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_cap_rtl_to_unicode@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_char_set_desc_cap_rtl@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_cp1255_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_cp1256_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_get_type_internal@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_iso8859_6_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_iso8859_8_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_cap_rtl@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_charset@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_cp1255_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_cp1256_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_iso8859_6_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_iso8859_8_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_unicode_to_utf8@Base 0.10.9
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; fribidi_utf8_to_unicode@Base 0.10.9
&lt;br&gt;&lt;br&gt;These are all internal symbols. &amp;nbsp;The headers for these are not installed. 
&lt;br&gt;When I was writing this code (~2003) I didn't know much about symbol hiding, etc.
&lt;br&gt;&lt;br&gt;Do people think I should go ahead and hide them now? &amp;nbsp;An alternative would be 
&lt;br&gt;to just leave them there as I don't see them changing.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_char_set_desc@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_char_set_name@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_char_set_title@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_charset_to_unicode@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_mirror_char@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_get_type@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_log2vis@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_log2vis_get_embedding_levels@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_mirroring_status@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_parse_charset@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_remove_bidi_marks@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_reorder_nsm_status@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_set_debug@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_set_mirroring@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_set_reorder_nsm@Base 0.10.9
&lt;br&gt;&amp;gt; &amp;nbsp; fribidi_version_info@Base 0.10.9
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22790166&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Question-about-symbols---API-ABI-compatability-tp22755074p22790166.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22768969</id>
	<title>Re: Question about symbols &amp; API/ABI compatability</title>
	<published>2009-03-29T08:43:04Z</published>
	<updated>2009-03-29T08:43:04Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">On Sat, Mar 28, 2009 at 04:59:31PM -0400, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; On 03/28/2009 05:21 AM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Thanks for the help, I got another question: are there any symbols in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;the file I sent you last time, that are *NOT* missing (or are added by
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;0.19.x) yet they are actually internal detail ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can you send me a listing of all the symbols you are seeing in 0.19.x?
&lt;br&gt;---end quoted text---
&lt;br&gt;&lt;br&gt;&amp;nbsp;New symbols in 0.19.x:
&lt;br&gt;&amp;nbsp;fribidi_debug_status@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_bidi_type@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_bidi_type_name@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_bidi_types@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_joining_type@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_joining_type_name@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_joining_types@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_par_direction@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_get_par_embedding_levels@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_join_arabic@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_reorder_line@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_shape@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_shape_arabic@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_shape_mirroring@Base 0.19.1
&lt;br&gt;&amp;nbsp;fribidi_unicode_version@Base 0.19.1
&lt;br&gt;&lt;br&gt;&amp;nbsp;Symbols that still exist from 0.10.9:
&lt;br&gt;&amp;nbsp;fribidi_cap_rtl_to_unicode@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_char_set_desc@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_char_set_desc_cap_rtl@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_char_set_name@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_char_set_title@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_charset_to_unicode@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_cp1255_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_cp1256_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_get_mirror_char@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_get_type@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_get_type_internal@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_iso8859_6_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_iso8859_8_to_unicode_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_log2vis@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_log2vis_get_embedding_levels@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_mirroring_status@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_parse_charset@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_remove_bidi_marks@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_reorder_nsm_status@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_set_debug@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_set_mirroring@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_set_reorder_nsm@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_cap_rtl@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_charset@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_cp1255_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_cp1256_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_iso8859_6_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_iso8859_8_c@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_unicode_to_utf8@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_utf8_to_unicode@Base 0.10.9
&lt;br&gt;&amp;nbsp;fribidi_version_info@Base 0.10.9
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C &amp;nbsp;156E D325 C3C8 9DCA 0B27
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22768969&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Question-about-symbols---API-ABI-compatability-tp22755074p22768969.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22761247</id>
	<title>Re: Question about symbols &amp; API/ABI compatability</title>
	<published>2009-03-28T13:59:31Z</published>
	<updated>2009-03-28T13:59:31Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 03/28/2009 05:21 AM, أحمد المحمودي wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Thanks for the help, I got another question: are there any symbols in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;the file I sent you last time, that are *NOT* missing (or are added by
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;0.19.x) yet they are actually internal detail ?
&lt;br&gt;&lt;br&gt;Can you send me a listing of all the symbols you are seeing in 0.19.x?
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22761247&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Question-about-symbols---API-ABI-compatability-tp22755074p22761247.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22755074</id>
	<title>Re: Question about symbols &amp; API/ABI compatability</title>
	<published>2009-03-28T02:21:35Z</published>
	<updated>2009-03-28T02:21:35Z</updated>
	<author>
		<name>أحمد المحمودي</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Thanks for the help, I got another question: are there any symbols in 
&lt;br&gt;&amp;nbsp; the file I sent you last time, that are *NOT* missing (or are added by 
&lt;br&gt;&amp;nbsp; 0.19.x) yet they are actually internal detail ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;‎أحمد المحمودي (Ahmed El-Mahmoudy)
&lt;br&gt;&amp;nbsp; Digital design engineer
&lt;br&gt;&amp;nbsp;GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
&lt;br&gt;&amp;nbsp;GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C &amp;nbsp;156E D325 C3C8 9DCA 0B27
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22755074&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Question-about-symbols---API-ABI-compatability-tp22755074p22755074.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22732708</id>
	<title>GNU FriBidi 0.19.2 is now available</title>
	<published>2009-03-26T15:44:55Z</published>
	<updated>2009-03-26T15:44:55Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">At the usual location:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://fribidi.org/download&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fribidi.org/download&lt;/a&gt;&lt;br&gt;&lt;br&gt;Overview of changes between 0.19.1 and 0.19.2
&lt;br&gt;=============================================
&lt;br&gt;* Update to Unicode Character Database 5.1.0
&lt;br&gt;* Fixed bug in Arabic ligature table (bug #208870)
&lt;br&gt;* Handle RLM/LRM in CP1255 charset converter. (bug #15328, Artyom)
&lt;br&gt;&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22732708&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNU-FriBidi-0.19.2-is-now-available-tp22732708p22732708.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22463208</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-11T12:59:21Z</published>
	<updated>2009-03-11T12:59:21Z</updated>
	<author>
		<name>Behnam ZWNJ Esfahbod</name>
	</author>
	<content type="html">Got it. &amp;nbsp;Thanks for the explanation. :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Mar 11, 2009 at 5:31 PM, Behdad Esfahbod &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22463208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;behdad@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 03/10/2009 06:08 AM, Behnam Esfahbod ZWNJ wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;&amp;gt;&amp;gt; LAM+ALEF ligature.  This might be a but in the ligature replacement of
&lt;br&gt;&amp;gt;&amp;gt; the shaping function.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;&amp;gt;&amp;gt; fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;&amp;gt;&amp;gt; ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's expected.  It will be removed by fribidi_remove_bidi_marks().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Behdad, why don't you use U+FFFF for this purpose?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Because U+FFFF is not a valid character.  U+FEFF is harmless at that
&lt;br&gt;&amp;gt; position.  And has a BN bidi category and is one of the characters that any
&lt;br&gt;&amp;gt; rendering pipeline removes anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and why
&lt;br&gt;&amp;gt;&amp;gt; fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;&amp;gt;&amp;gt; clean this CHAR_FILLs?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The shaping functions do not remove any characters.  If they did it would be
&lt;br&gt;&amp;gt; hard to keep the mapping between visual and logical strings.  The idea is
&lt;br&gt;&amp;gt; that we add filler chars when needing to remove any characters, and
&lt;br&gt;&amp;gt; fribidi_remove_bidi_marks() or similar functions will remove the fillers
&lt;br&gt;&amp;gt; later.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;&amp;gt;&amp;gt; way to fix this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No fix needed AFAI'm concerned :).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; behdad
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Behnam
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; ' &amp;nbsp; &amp;nbsp; بهنام اسفهبد
&lt;br&gt;&amp;nbsp; &amp;nbsp; ' &amp;nbsp; &amp;nbsp; Behnam Esfahbod
&lt;br&gt;&amp;nbsp; &amp;nbsp;'
&lt;br&gt;&amp;nbsp; * &amp;nbsp;.. &amp;nbsp; &lt;a href=&quot;http://behnam.esfahbod.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://behnam.esfahbod.info&lt;/a&gt;&lt;br&gt;&amp;nbsp;* &amp;nbsp;` &amp;nbsp;*
&lt;br&gt;&amp;nbsp; * o * &amp;nbsp; &lt;a href=&quot;http://zwnj.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zwnj.org&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22463208&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22463208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22456797</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-11T07:50:29Z</published>
	<updated>2009-03-11T07:50:29Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 03/11/2009 10:41 AM, Yoann Roman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; LAM+ALEF ligature. &amp;nbsp;This might be a but in the ligature replacement
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of the shaping function.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&amp;gt;&amp;gt; That's expected. &amp;nbsp;It will be removed by fribidi_remove_bidi_marks().
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Behdad, why don't you use U+FFFF for this purpose?
&lt;br&gt;&amp;gt;&amp;gt; Because U+FFFF is not a valid character. &amp;nbsp;U+FEFF is harmless at that
&lt;br&gt;&amp;gt;&amp;gt; position. And has a BN bidi category and is one of the characters
&lt;br&gt;&amp;gt;&amp;gt; that any rendering pipeline removes anyway.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and why
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; clean this CHAR_FILLs?
&lt;br&gt;&amp;gt;&amp;gt; The shaping functions do not remove any characters. &amp;nbsp;If they did it
&lt;br&gt;&amp;gt;&amp;gt; would be hard to keep the mapping between visual and logical strings.
&lt;br&gt;&amp;gt;&amp;gt; The idea is that we add filler chars when needing to remove any
&lt;br&gt;&amp;gt;&amp;gt; characters, and fribidi_remove_bidi_marks() or similar functions will
&lt;br&gt;&amp;gt;&amp;gt; remove the fillers later.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; way to fix this.
&lt;br&gt;&amp;gt;&amp;gt; No fix needed AFAI'm concerned :).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, practically, I need to call fribidi_remove_bidi_marks after calling
&lt;br&gt;&amp;gt; log2vis? I see that's done by fribidi.exe if I pass in --clean.
&lt;/div&gt;&lt;br&gt;Yes.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22456797&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22456797.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22456574</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-11T07:41:16Z</published>
	<updated>2009-03-11T07:41:16Z</updated>
	<author>
		<name>Yoann Roman-2</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;&amp;gt;&amp;gt; LAM+ALEF ligature. &amp;nbsp;This might be a but in the ligature replacement 
&lt;br&gt;&amp;gt;&amp;gt; of the shaping function.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;&amp;gt;&amp;gt; fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;&amp;gt;&amp;gt; ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's expected. &amp;nbsp;It will be removed by fribidi_remove_bidi_marks().
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Behdad, why don't you use U+FFFF for this purpose?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Because U+FFFF is not a valid character. &amp;nbsp;U+FEFF is harmless at that 
&lt;br&gt;&amp;gt; position. And has a BN bidi category and is one of the characters 
&lt;br&gt;&amp;gt; that any rendering pipeline removes anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and why
&lt;br&gt;&amp;gt;&amp;gt; fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;&amp;gt;&amp;gt; clean this CHAR_FILLs?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The shaping functions do not remove any characters. &amp;nbsp;If they did it 
&lt;br&gt;&amp;gt; would be hard to keep the mapping between visual and logical strings. 
&lt;br&gt;&amp;gt; The idea is that we add filler chars when needing to remove any 
&lt;br&gt;&amp;gt; characters, and fribidi_remove_bidi_marks() or similar functions will 
&lt;br&gt;&amp;gt; remove the fillers later.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;&amp;gt;&amp;gt; way to fix this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No fix needed AFAI'm concerned :).
&lt;/div&gt;&lt;br&gt;So, practically, I need to call fribidi_remove_bidi_marks after calling 
&lt;br&gt;log2vis? I see that's done by fribidi.exe if I pass in --clean.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Yoann Roman
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22456574&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22456574.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22455756</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-11T07:01:49Z</published>
	<updated>2009-03-11T07:01:49Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 03/10/2009 06:08 AM, Behnam Esfahbod ZWNJ wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;&amp;gt; LAM+ALEF ligature. &amp;nbsp;This might be a but in the ligature replacement of
&lt;br&gt;&amp;gt; the shaping function.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;&amp;gt; fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;&amp;gt; ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&lt;br&gt;That's expected. &amp;nbsp;It will be removed by fribidi_remove_bidi_marks().
&lt;br&gt;&lt;br&gt;&amp;gt; Behdad, why don't you use U+FFFF for this purpose?
&lt;br&gt;&lt;br&gt;Because U+FFFF is not a valid character. &amp;nbsp;U+FEFF is harmless at that position. 
&lt;br&gt;&amp;nbsp; And has a BN bidi category and is one of the characters that any rendering 
&lt;br&gt;pipeline removes anyway.
&lt;br&gt;&lt;br&gt;&amp;gt; and why
&lt;br&gt;&amp;gt; fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;&amp;gt; clean this CHAR_FILLs?
&lt;br&gt;&lt;br&gt;The shaping functions do not remove any characters. &amp;nbsp;If they did it would be 
&lt;br&gt;hard to keep the mapping between visual and logical strings. &amp;nbsp;The idea is that 
&lt;br&gt;we add filler chars when needing to remove any characters, and 
&lt;br&gt;fribidi_remove_bidi_marks() or similar functions will remove the fillers later.
&lt;br&gt;&lt;br&gt;&amp;gt; Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;&amp;gt; way to fix this.
&lt;br&gt;&lt;br&gt;No fix needed AFAI'm concerned :).
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;&amp;gt; -Behnam
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22455756&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22455756.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22434059</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-10T06:20:58Z</published>
	<updated>2009-03-10T06:20:58Z</updated>
	<author>
		<name>Yoann Roman-2</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; Behdad, Thanks for the response.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No problam at all, but please note that I'm behNaM, behDaD's brother.
&lt;br&gt;&lt;br&gt;Sorry for the name mishap. I was looking at Behdad's message while 
&lt;br&gt;replying to yours.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Your output is what I get from fribidi 0.10.9, but that doesn't do
&lt;br&gt;&amp;gt;&amp;gt; Arabic joining. Other than that BOM mark, the Windows output from
&lt;br&gt;&amp;gt;&amp;gt; 0.19.1 is correct and matches what other non-Fribidi-based, bidi
&lt;br&gt;&amp;gt;&amp;gt; programs do.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I didn't notice you have get the shaping on the string too. &amp;nbsp;So the
&lt;br&gt;&amp;gt; windows output is correct, except the BOM mark.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;&amp;gt; LAM+ALEF ligature. &amp;nbsp;This might be a but in the ligature replacement of
&lt;br&gt;&amp;gt; the shaping function.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;&amp;gt; fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;&amp;gt; ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Behdad, why don't you use U+FFFF for this purpose? &amp;nbsp;and why
&lt;br&gt;&amp;gt; fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;&amp;gt; clean this CHAR_FILLs?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;&amp;gt; way to fix this.
&lt;/div&gt;&lt;br&gt;Glad to know it's not a problem just on my end. Thanks for the research.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Yoann Roman
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22434059&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22434059.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22434060</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-10T06:20:58Z</published>
	<updated>2009-03-10T06:20:58Z</updated>
	<author>
		<name>Yoann Roman-2</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; Thanks for the response.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Your output is what I get from fribidi 0.10.9, but that doesn't do 
&lt;br&gt;&amp;gt;&amp;gt; Arabic joining. Other than that BOM mark, the Windows output from 
&lt;br&gt;&amp;gt;&amp;gt; 0.19.1 is correct and matches what other non-Fribidi-based, bidi 
&lt;br&gt;&amp;gt;&amp;gt; programs do.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; I should just point out, as an aside, that the Windows joining is font 
&lt;br&gt;&amp;gt; aware. If a certain letter needs to have a left/right join, but the 
&lt;br&gt;&amp;gt; font does not have the right glyph, then Windows will use (don't 
&lt;br&gt;&amp;gt; remember the details) the right only or left only joined glyph.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not really relevant to the discussion, but I should point out that 
&lt;br&gt;&amp;gt; logical only joining is not full proof.
&lt;/div&gt;&lt;br&gt;Thanks for the heads up. In this case, I control the font being used as 
&lt;br&gt;well, so I'll just make sure it has all the joining glyphs.
&lt;br&gt;&lt;br&gt;Out of curiosity, how is this handled on other platforms?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Yoann Roman
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22434060&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22434060.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22431229</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-10T03:08:52Z</published>
	<updated>2009-03-10T03:08:52Z</updated>
	<author>
		<name>Behnam ZWNJ Esfahbod</name>
	</author>
	<content type="html">Hi Yoann,
&lt;br&gt;&lt;br&gt;&amp;gt; Behdad, Thanks for the response.
&lt;br&gt;&lt;br&gt;No problam at all, but please note that I'm behNaM, behDaD's brother.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Your output is what I get from fribidi 0.10.9, but that doesn't do
&lt;br&gt;&amp;gt; Arabic joining. Other than that BOM mark, the Windows output from
&lt;br&gt;&amp;gt; 0.19.1 is correct and matches what other non-Fribidi-based, bidi
&lt;br&gt;&amp;gt; programs do.
&lt;br&gt;&lt;br&gt;I didn't notice you have get the shaping on the string too. &amp;nbsp;So the
&lt;br&gt;windows output is correct, except the BOM mark.
&lt;br&gt;&lt;br&gt;Seems the BOM mark appears in the place of the first character of the
&lt;br&gt;LAM+ALEF ligature. &amp;nbsp;This might be a but in the ligature replacement of
&lt;br&gt;the shaping function.
&lt;br&gt;&lt;br&gt;Yep, it's in the CVS HEAD, lib/fribidi-arabic.c
&lt;br&gt;fribidi_shape_arabic_ligature(), which replaces the first char of
&lt;br&gt;ligature with FRIBIDI_CHAR_FILL, which is ZWNBSP/BOM.
&lt;br&gt;&lt;br&gt;Behdad, why don't you use U+FFFF for this purpose? &amp;nbsp;and why
&lt;br&gt;fribidi_shape_arabic() or fribidi_shape_arabic_ligature() doesn't
&lt;br&gt;clean this CHAR_FILLs?
&lt;br&gt;&lt;br&gt;Behdad, I can fix the problem in CVS if you tell me what's the best
&lt;br&gt;way to fix this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Behnam
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; ' &amp;nbsp; &amp;nbsp; بهنام اسفهبد
&lt;br&gt;&amp;nbsp; &amp;nbsp; ' &amp;nbsp; &amp;nbsp; Behnam Esfahbod
&lt;br&gt;&amp;nbsp; &amp;nbsp;'
&lt;br&gt;&amp;nbsp; * &amp;nbsp;.. &amp;nbsp; &lt;a href=&quot;http://behnam.esfahbod.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://behnam.esfahbod.info&lt;/a&gt;&lt;br&gt;&amp;nbsp;* &amp;nbsp;` &amp;nbsp;*
&lt;br&gt;&amp;nbsp; * o * &amp;nbsp; &lt;a href=&quot;http://zwnj.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zwnj.org&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22431229&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22431229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22429755</id>
	<title>Re: Invalid UTF-8 for Arabic</title>
	<published>2009-03-10T01:00:57Z</published>
	<updated>2009-03-10T01:00:57Z</updated>
	<author>
		<name>Shachar Shemesh-12</name>
	</author>
	<content type="html">Yoann Roman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Behdad,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the response.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your output is what I get from fribidi 0.10.9, but that doesn't do 
&lt;br&gt;&amp;gt; Arabic joining. Other than that BOM mark, the Windows output from 
&lt;br&gt;&amp;gt; 0.19.1 is correct and matches what other non-Fribidi-based, bidi 
&lt;br&gt;&amp;gt; programs do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;I should just point out, as an aside, that the Windows joining is font 
&lt;br&gt;aware. If a certain letter needs to have a left/right join, but the font 
&lt;br&gt;does not have the right glyph, then Windows will use (don't remember the 
&lt;br&gt;details) the right only or left only joined glyph.
&lt;br&gt;&lt;br&gt;Not really relevant to the discussion, but I should point out that 
&lt;br&gt;logical only joining is not full proof.
&lt;br&gt;&lt;br&gt;Shachar
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Shachar Shemesh
&lt;br&gt;Lingnu Open Source Consulting Ltd.
&lt;br&gt;&lt;a href=&quot;http://www.lingnu.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lingnu.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;fribidi mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22429755&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fribidi@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/fribidi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.freedesktop.org/mailman/listinfo/fribidi&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-for-Arabic-tp22362426p22429755.html" />
</entry>

</feed>
