Few typefaces are not loading

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

Parent Message unknown Few typefaces are not loading

by Noorul Sahabudeen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
    I have some problems loading some Fonts. I am using windows, i tried
loading "Windings Regular" font it is not loading , and some more files
which has extension .TTC.
    Some fonts designed by Microsoft itself not working like Cambria

Thanks,
Noorul


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: Few typefaces are not loading

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 27 Aug 2009 19:28:12 +0530
Noorul Sahabudeen <noorulsahabudeen.cg@...> wrote:
>    I have some problems loading some Fonts. I am using windows, i tried
>loading "Windings Regular" font it is not loading , and some more files
>which has extension .TTC.

If you execute ftdump (included in freetype2-demos) for
the font file, what output ftdump generates?

>    Some fonts designed by Microsoft itself not working like Cambria

I'm not sure what you mean, sorry.

Regards,
mpsuzuki


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by Adam Twardoch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>    Some fonts designed by Microsoft itself not working like Cambria
>
> I'm not sure what you mean, sorry.

Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
"Cambria Math" in it.

A.

--

Adam Twardoch
| Language Typography Unicode Fonts OpenType
| twardoch.com | silesian.com | fontlab.net

The illegal we do immediately.
The unconstitutional takes a little longer.
(Henry Kissinger)


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 27 Aug 2009 17:00:11 +0200
Adam Twardoch <list.adam@...> wrote:

>>>    Some fonts designed by Microsoft itself not working like Cambria
>>
>> I'm not sure what you mean, sorry.
>
>Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
>"Cambria Math" in it.

Thanks. Is it bundled to Windows Vista?

Regards,
mpsuzuki


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by Noorul Sahabudeen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am really sorry. I thought, as Cambria is designed by Microsoft it
should definitely work in windows. But why the files packaged as .ttc is
not loading?. Does Freetype2 loads only .ttf and .otf?
mpsuzuki@... wrote:

> On Thu, 27 Aug 2009 17:00:11 +0200
> Adam Twardoch <list.adam@...> wrote:
>
>  
>>>>    Some fonts designed by Microsoft itself not working like Cambria
>>>>        
>>> I'm not sure what you mean, sorry.
>>>      
>> Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
>> "Cambria Math" in it.
>>    
>
> Thanks. Is it bundled to Windows Vista?
>
> Regards,
> mpsuzuki
>
>  



_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FreeType2 supports TTC format either.
Please execute ftdump to the font file and
report the result.

Regards,
mpsuzuki

On Fri, 28 Aug 2009 09:48:53 +0530
Noorul Sahabudeen <noorulsahabudeen.cg@...> wrote:

>I am really sorry. I thought, as Cambria is designed by Microsoft it
>should definitely work in windows. But why the files packaged as .ttc is
>not loading?. Does Freetype2 loads only .ttf and .otf?
>mpsuzuki@... wrote:
>> On Thu, 27 Aug 2009 17:00:11 +0200
>> Adam Twardoch <list.adam@...> wrote:
>>
>>  
>>>>>    Some fonts designed by Microsoft itself not working like Cambria
>>>>>        
>>>> I'm not sure what you mean, sorry.
>>>>      
>>> Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
>>> "Cambria Math" in it.
>>>    
>>
>> Thanks. Is it bundled to Windows Vista?
>>
>> Regards,
>> mpsuzuki
>>
>>  
>


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by Noorul Sahabudeen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am not getting what is ftdump. Can you send some link or something for
me to understand , what i should do exactly?
Thanks
Noorul
mpsuzuki@... wrote:

> FreeType2 supports TTC format either.
> Please execute ftdump to the font file and
> report the result.
>
> Regards,
> mpsuzuki
>
> On Fri, 28 Aug 2009 09:48:53 +0530
> Noorul Sahabudeen <noorulsahabudeen.cg@...> wrote:
>
>  
>> I am really sorry. I thought, as Cambria is designed by Microsoft it
>> should definitely work in windows. But why the files packaged as .ttc is
>> not loading?. Does Freetype2 loads only .ttf and .otf?
>> mpsuzuki@... wrote:
>>    
>>> On Thu, 27 Aug 2009 17:00:11 +0200
>>> Adam Twardoch <list.adam@...> wrote:
>>>
>>>  
>>>      
>>>>>>    Some fonts designed by Microsoft itself not working like Cambria
>>>>>>        
>>>>>>            
>>>>> I'm not sure what you mean, sorry.
>>>>>      
>>>>>          
>>>> Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
>>>> "Cambria Math" in it.
>>>>    
>>>>        
>>> Thanks. Is it bundled to Windows Vista?
>>>
>>> Regards,
>>> mpsuzuki
>>>
>>>  
>>>      
>
>  



_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft] Re: Few typefaces are not loading

by Noorul Sahabudeen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
    I am using Windows. Freetype2 is not loading few fonts like
Windings, Webdings, Cambria and some .TTC files also. Can anyone check
and give me some solution.
Thanks
Noorul

Noorul Sahabudeen wrote:

> I am not getting what is ftdump. Can you send some link or something
> for me to understand , what i should do exactly?
> Thanks
> Noorul
> mpsuzuki@... wrote:
>> FreeType2 supports TTC format either.
>> Please execute ftdump to the font file and
>> report the result.
>>
>> Regards,
>> mpsuzuki
>>
>> On Fri, 28 Aug 2009 09:48:53 +0530
>> Noorul Sahabudeen <noorulsahabudeen.cg@...> wrote:
>>
>>  
>>> I am really sorry. I thought, as Cambria is designed by Microsoft it
>>> should definitely work in windows. But why the files packaged as
>>> .ttc is not loading?. Does Freetype2 loads only .ttf and .otf?
>>> mpsuzuki@... wrote:
>>>    
>>>> On Thu, 27 Aug 2009 17:00:11 +0200
>>>> Adam Twardoch <list.adam@...> wrote:
>>>>
>>>>        
>>>>>>>    Some fonts designed by Microsoft itself not working like Cambria
>>>>>>>                    
>>>>>> I'm not sure what you mean, sorry.
>>>>>>                
>>>>> Cambria is also packaged as .ttc as it has two fonts: "Cambria" and
>>>>> "Cambria Math" in it.
>>>>>            
>>>> Thanks. Is it bundled to Windows Vista?
>>>>
>>>> Regards,
>>>> mpsuzuki
>>>>
>>>>        
>>
>>  
>
>



_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: Re: [ft] Re: Few typefaces are not loading

by Dmitry Timoshkov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Noorul Sahabudeen" <noorulsahabudeen.cg@...> wrote:

>    I am using Windows. Freetype2 is not loading few fonts like
> Windings, Webdings, Cambria and some .TTC files also.

I have no Cambria here under XP, but Freetype works just fine with
other fonts I tested with.

> Can anyone check and give me some solution.

Please attach a maximally simplified source you are using.

--
Dmitry.


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Parent Message unknown Re: Re: [ft] Re: Few typefaces are not loading

by Dmitry Timoshkov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Noorul Sahabudeen" <noorulsahabudeen.cg@...> wrote:

>    For few fonts like "Cambria" face is Null and for few fonts line
> webdings i am not getting any characters.

You need to select an appropriate charmap:

FT_Select_Charmap(face, FT_ENCODING_UNICODE); // or FT_ENCODING_MS_SYMBOL

--
Dmitry.


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: Re: [ft] Re: Few typefaces are not loading

by Noorul Sahabudeen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks ,
Windings works fine with FT_ENCODING_MS_SYMBOL, but is there any simple
way to set the default style that font supports and load the charmapa,
Because i dont' know anything about these encoding styles ans stuffs.
If it is not a great thing to find the charmap and set that , please
post the solution

Thanks in Advance,
Noorul

Dmitry Timoshkov wrote:
> "Noorul Sahabudeen" <noorulsahabudeen.cg@...> wrote:
>
>>    For few fonts like "Cambria" face is Null and for few fonts line
>> webdings i am not getting any characters.
>
> You need to select an appropriate charmap:
>
> FT_Select_Charmap(face, FT_ENCODING_UNICODE); // or FT_ENCODING_MS_SYMBOL
>



_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: Re: [ft] Re: Few typefaces are not loading

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I thank Dmitry for guiding Noorul to right place, while
I was off line.

On Sat, 29 Aug 2009 12:41:39 +0530
Noorul Sahabudeen <noorulsahabudeen.cg@...> wrote:
>Windings works fine with FT_ENCODING_MS_SYMBOL, but is there any simple
>way to set the default style that font supports and load the charmapa,
>Because i dont' know anything about these encoding styles ans stuffs.

Before all, FreeType2 tries to provide Unicode character
interface by default, for convenience of the programmers.
"Unicode by default" is not perfect solution, but the most
generic solution especially for TrueType. More generic-but-
hardheaded solution would be "no cmap is loaded by default",
but I don't think it's welcomed in today, except of die-hard
programmers with Code Set Independent style.

With keeping "Unicode by default" feature, the automatic
determination of cmap is quite difficult, because most of
non-Unicode cmap of TrueType is incompatible with Unicode
(e.g. CJK encodings and Apple WorldScript encodings for
Arabic/Hebrew/Indic etc). Some people may request the
encoding convertor (something like iconv()) behind of FT2
API, but there's no compact, portable, generic library
with appropriate license to be included in FT2. FT2 user
should select the best encoding convertor fitting their
own purpose.

Even if a genius could write encoding convertor for FT2,
the problem of MS Symbol cannot be solved. MS Symbol encoding
is used for the glyph collection that cannot be coded by
Unicode. They are per-font encoding and mutually incompatible
in most case.

For example, my Windows XP has following TrueType fonts with
MS Symbol cmap: BSSYM7.TTF, REFSPCL.TTF, WINDNG2.TTF, WINDNG3.TTF,
marlett.ttf, symbol.ttf, webdings.ttf, wingding.ttf. All of
them have different glyph collection, and there is no interoperability.
Nothing to say, some of (or all of) the glyphs in these fonts
cannot be coded by Unicode. So, when we access the glyph via
MS Symbol encoding, the integer used as character code cannot
be mixed with Unicode anymore. Only FT2 API (with "Unicode by
default" feature) can do is only behaving aslike if there is
no Unicode character. Anyway, it could be worthful to mention
about the encoding issue in FT2 tutorial, because current
document has a sample code using "Unicode by default" feature
and not generic for the fonts without Unicode cmap.

>If it is not a great thing to find the charmap and set that , please
>post the solution

As I written in above, it would be great work.

Regards,
mpsuzuki


>Dmitry Timoshkov wrote:
>> "Noorul Sahabudeen" <noorulsahabudeen.cg@...> wrote:
>>
>>>    For few fonts like "Cambria" face is Null and for few fonts line
>>> webdings i am not getting any characters.
>>
>> You need to select an appropriate charmap:
>>
>> FT_Select_Charmap(face, FT_ENCODING_UNICODE); // or FT_ENCODING_MS_SYMBOL
>>
>


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel