Re: Numeric shaping in Pango



The attached code works.

On Tue, 2003-09-23 at 17:34, Lina Kemmel wrote:
> Roozbeh Pournader wrote:
> 
> > May I have your sample code?
> 
> Not too much code :-), something like:
> 
> #include <stdio.h>
> 
> main()
> {
>   fprintf(stdout, "%Id", 3);
> }
> 
> Thanks,
> Lina
> 
#include <stdio.h>
#include <locale.h>

int main()
{
  setlocale(LC_ALL, "fa_IR");
  fprintf(stdout, "%Id\n", 3);
  
  return 0;  
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]