[webERP -translation] Doing a very little better TCPDF font

View: New views
6 Messages — Rating Filter:   Alert me  

[webERP -translation] Doing a very little better TCPDF font

by Javier de Lorenzo-Cáceres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>From previous 10 pdfs only 1 and 2 did Turkish;
font was arial and special characters were bold, a little,
because font was changed to a different KozGoProVI-Medium.

I've made 2 more examples called 11 y 12:

On example 11, I've made font KozGoProVI-Medium instead of Arial
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier11.php
-> Now all characters look little bold (more than a little bit indeed)

I didn't like this ink excess so I made the following:

On Example 12 I've made font KozGoPro-Medium-Acro
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier12.php
-> Now the first issue (ink) is solved a little

Now I don't like Capitals, I think they are wider than should be.
It must be compared with example 6, there are great differences:
look at the kerning in Russian.

Zhiguo, I think that Identity-H is when Identity that is not defined,
I made this for you
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier13.php

javier
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@...
https://lists.sourceforge.net/lists/listinfo/web-erp-translation

Re: [webERP -translation] Doing a very little better TCPDF font

by Cesure.CN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Javier,

I'm excited to see all the specific Turkish letters showing up. Why I said "give a try to Identity-H", because I examined several Turkish pdf files and found their fonts are FreeSans and encoding is Identity-H.

I managed to generate the pdf of utf8 Chinese characters. But the 6 Turkish letters are still missing. I think it's because the font I select doesn't contain them.  I will try more fonts including KozGoProVI-Medium. Below is a sample code on how to config a CMap encoding and font.

                  function AddUniGBhwFont ($family='uGB', $name='AdobeSongStd-Light-Acro')  
                  {
                    //Add Unicode font with half-witdh Latin, character code must be utf16be
                    for($i=32;$i<=126;$i++)
                      $cw[chr($i)]=500;
                    $CMap='UniGB-UCS2-H';  
                    $registry=array('ordering'=>'GB1','supplement'=>4);
                    $this->AddCIDFonts($family,$name,$cw,$CMap,$registry);

 I think we are just one step away to solve the pdf print of utf8 in weberp.

All the best regards,
-Zhiguo

AESE, S.L., Javier de Lorenzo-Cáceres. wrote:
>From previous 10 pdfs only 1 and 2 did Turkish;
font was arial and special characters were bold, a little,
because font was changed to a different KozGoProVI-Medium.

I've made 2 more examples called 11 y 12:

On example 11, I've made font KozGoProVI-Medium instead of Arial
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier11.php
-> Now all characters look little bold (more than a little bit indeed)

I didn't like this ink excess so I made the following:

On Example 12 I've made font KozGoPro-Medium-Acro
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier12.php
-> Now the first issue (ink) is solved a little

Now I don't like Capitals, I think they are wider than should be.
It must be compared with example 6, there are great differences:
look at the kerning in Russian.

Zhiguo, I think that Identity-H is when Identity that is not defined,
I made this for you
http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier13.php

javier
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/web-erp-translation

Re: [webERP -translation] Doing a very little better TCPDF font

by Javier de Lorenzo-Cáceres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Zhiguo,

You are right to think the font has not pictograms for those letters,
and also you are right to look at Sung or Song, of course, but
you already has it at example 9, it has Chinese but no Turkish,
as expected, see below.

You are in a very interesting case: the need of Turkish and Chinese.
We have to find a font that supports both.

Check this as clues:

* AdobeSongStd-Light-Acro means
Song = Please tell me what Song or Sung means for you. (for me is Chinese)
Std = Standard = It has no Central Europe support (Std is the opposite to
Pro).
                           (this means you won't find turkish as example 9
shows)
Light = "weight" is minimal (the opposite to bold)(Bold > Medium > Regular >
Light)

Now Let's compare with

* KozGoProVI-Medium
KozGo = Kozuka Gothic (this is a font suited for Japanese, won't work for
Chinese)
Pro = It has Central European Characters
Medium = a little bold  (I prefer regular)

We have these kinds of fonts:
Adobe Postscript Type 1 (indicated by tha "a")
True Type (indicated by "TT") (These are common Windows)
Open Type (indicated by an "O") (These are Linux-Mac-Windows Compatible)
CID (indicated by F) (These are Open Type with a special Char Map)


And there are lot of more groups and subgroups like
True Type Unicode
Postscript Type 3 bitmapped fonts,
PCL fonts,
MacOS bitmap fonts,
Windows vector (outline) fonts.

I think we should look for an Acrobat pre-installed font first (not a
Windows font,
we may discuss this later).
I think we should look for an Open Type font (CID or not, CID is faster)
My Acrobat fonts are
C:\Program Files\Adobe\Acrobat 8.0\Resource\Font (These are Open Type, now
I'm going with these)
C:\Program Files\Adobe\Acrobat 8.0\Resource\Font\Pfm (This are ANSI Type 1
Core fonts)
C:\Program Files\Adobe\Acrobat 8.0\Resource\CIDFont (I've tested all here)

If you have any of the many Adobe app that let you write you can simply try
Also, I would like you to send me an utf-8 text file with Chinese writing
to append to my example txt file (The example has Thai, Russian Turkish, but
not Chinese)

About the pre-installed Acrobat Open-Type Fonts, I only need to test
"Myriad Pro" because others are all Std except Minion, which is the serif of
Myriad,
and specially suited for Arabic, Hebrew and Thai.
Wait a minute, I'll test turkish before post, yes Myriad has turkish
as expected from the Pro label.

Now we have to test Myriad Pro for Chinese, if doesn't work we will
have to search for an openType that fits (Sung Pro) and later install on
both server
and clients (install on clients is what I'm trying to avoid)

Please don't forget to send me a simple but selected utf-8 text file
with Chinese writing to append to the testing stuff.

Warmest regards,
javier

> Hi Javier,
>
> I'm excited to see all the specific Turkish letters showing up. Why I said
> "give a try to Identity-H", because I examined several Turkish pdf files
> and
> found their fonts are FreeSans and encoding is Identity-H.
>
> I managed to generate the pdf of utf8 Chinese characters. But the 6
> Turkish
> letters are still missing. I think it's because the font I select doesn't
> contain them.  I will try more fonts including KozGoProVI-Medium. Below is
> a
> sample code on how to config a CMap encoding and font.
>
>   function AddUniGBhwFont ($family='uGB', $name='AdobeSongStd-Light-Acro')
>   {
>     //Add Unicode font with half-witdh Latin, character code must be
> utf16be
>     for($i=32;$i<=126;$i++)
>       $cw[chr($i)]=500;
>     $CMap='UniGB-UCS2-H';
>     $registry=array('ordering'=>'GB1','supplement'=>4);
>     $this->AddCIDFonts($family,$name,$cw,$CMap,$registry);
>
> I think we are just one step away to solve the pdf print of utf8 :-)
>
> All the best regards,
> -Zhiguo
>
>
> AESE, S.L., Javier de Lorenzo-Cáceres. wrote:
>>
>>>From previous 10 pdfs only 1 and 2 did Turkish;
>> font was arial and special characters were bold, a little,
>> because font was changed to a different KozGoProVI-Medium.
>>
>> I've made 2 more examples called 11 y 12:
>>
>> On example 11, I've made font KozGoProVI-Medium instead of Arial
>> http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier11.php
>> -> Now all characters look little bold (more than a little bit indeed)
>>
>> I didn't like this ink excess so I made the following:
>>
>> On Example 12 I've made font KozGoPro-Medium-Acro
>> http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier12.php
>> -> Now the first issue (ink) is solved a little
>>
>> Now I don't like Capitals, I think they are wider than should be.
>> It must be compared with example 6, there are great differences:
>> look at the kerning in Russian.
>>
>> Zhiguo, I think that Identity-H is when Identity that is not defined,
>> I made this for you
>> http://146.red-88-2-131.staticip.rima-tde.net/weberp311utf/javier/javier13.php
>>
>> javier
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Web-ERP-translation mailing list
>> Web-ERP-translation@...
>> https://lists.sourceforge.net/lists/listinfo/web-erp-translation
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/-webERP--translation--Doing-a-very-little-better-TCPDF-font-tp24882182p24884928.html
> Sent from the web-erp-translation mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Web-ERP-translation mailing list
> Web-ERP-translation@...
> https://lists.sourceforge.net/lists/listinfo/web-erp-translation
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@...
https://lists.sourceforge.net/lists/listinfo/web-erp-translation

Re: [webERP -translation] Doing a very little better TCPDF font

by Javier de Lorenzo-Cáceres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Zhiguo,

I'm doing a search

http://www.microsoft.com/typography/links/links.aspx?type=free&part=1

http://cg.scs.carleton.ca/~luc/china.html

1)
Chinese TTF Fonts donated by Arphic company,
with aditional Hong Kong Characters by Hong Kong font project
and bitmap by Firefly

2) This has no chinese
http://www.fontsquirrel.com/fonts/list/OpenType
http://new.myfonts.com/search/lowest_price:0/fonts/

3) This has no chinese
http://new.myfonts.com/search/charset%3Ahan+lowest_price%3A0/fonts/

4) These are about 30$ each
http://new.myfonts.com/search/chinese/

5)
http://www.free-fonts.com/


This was a 5 minutes search, would you help to a find an Open Type font
that supports Chinese and Turkish at the same time?

Luck,
javier


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@...
https://lists.sourceforge.net/lists/listinfo/web-erp-translation

Re: [webERP -translation] Doing a very little better TCPDF font

by Cesure.CN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you so much, Javier. I'm searching and will come back later.

AESE, S.L., Javier de Lorenzo-Cáceres. wrote:
Hi Zhiguo,

I'm doing a search

http://www.microsoft.com/typography/links/links.aspx?type=free&part=1

http://cg.scs.carleton.ca/~luc/china.html

1)
Chinese TTF Fonts donated by Arphic company,
with aditional Hong Kong Characters by Hong Kong font project
and bitmap by Firefly

2) This has no chinese
http://www.fontsquirrel.com/fonts/list/OpenType
http://new.myfonts.com/search/lowest_price:0/fonts/

3) This has no chinese
http://new.myfonts.com/search/charset%3Ahan+lowest_price%3A0/fonts/

4) These are about 30$ each
http://new.myfonts.com/search/chinese/

5)
http://www.free-fonts.com/


This was a 5 minutes search, would you help to a find an Open Type font
that supports Chinese and Turkish at the same time?

Luck,
javier


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/web-erp-translation

Re: [webERP -translation] Doing a very little better TCPDF font

by Harald Ringehahn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I trust in wikipedia: http://en.wikipedia.org/wiki/List_of_typefaces#Unicode_fonts I guess only Arial Unicode MS or Bitstream Cyberbit ever could do this work at this time.
For the first the user must have MS Office installed and the second is free only for non-commercial use.
Have you ever seen an ERP system for non commercial use?
With embedded fonts you would get 1 MB for a single page. There I stopped my tests last year.

Harald

AESE, S.L., Javier de Lorenzo-Cáceres. wrote:
Hi Zhiguo,

I'm doing a search

http://www.microsoft.com/typography/links/links.aspx?type=free&part=1

http://cg.scs.carleton.ca/~luc/china.html

1)
Chinese TTF Fonts donated by Arphic company,
with aditional Hong Kong Characters by Hong Kong font project
and bitmap by Firefly

2) This has no chinese
http://www.fontsquirrel.com/fonts/list/OpenType
http://new.myfonts.com/search/lowest_price:0/fonts/

3) This has no chinese
http://new.myfonts.com/search/charset%3Ahan+lowest_price%3A0/fonts/

4) These are about 30$ each
http://new.myfonts.com/search/chinese/

5)
http://www.free-fonts.com/


This was a 5 minutes search, would you help to a find an Open Type font
that supports Chinese and Turkish at the same time?

Luck,
javier


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Web-ERP-translation mailing list
Web-ERP-translation@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/web-erp-translation