Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-30 Thread VnPenguin
 
  OK, this may not be of much help, but I just converted GenR102.TTF to
  pfb via fontforge, and now the font correctly picks up the dcroat
  glyph. I mus admit I had similar situations in the past where simply
  regenerating the font would solve mysterious problems, so I shrugged
  my shoulders and did what a man must do. I think the new Gentium
  license allows for this conversion, and the LaTeX people will be
  distributing pfbs anyway, so why not convert to pfb (which is easier
  for TeX to use anyway?)
 

 Hi Thomas,
 You're completely right ! Just tried with PFB (converted by fontforge)
 and it works :)


Package Gentium (PFB converted by fontforge) with qx,t5,texnansi, ec :

http://people.vnoss.org/~vnpenguin/pub/context/fonts/Gentium102-context.tgz

Tested ok with T5.

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-22 Thread Henning Hraban Ramm

Am 2006-01-22 um 08:03 schrieb VnPenguin:

...
 ){/work/apps/teTeX/share/texmf-local/fonts/enc/dvips/vntex/t5.enc} 
/work/apps/

teTeX/share/texmf-local/fonts/truetype/sil/gentium/genr102.ttf
Warning: pdfetex (file /work/apps/teTeX/share/texmf-local/fonts/ 
truetype/sil/ge

ntium/genr102.ttf): glyph `dcroat' not found



Output written on test-gentium.pdf (1 page, 25034 bytes).
Transcript written on test-gentium.log.

The glyph dcroat was not found :( I think there is problem in
Gentium fonts with this glyph.


Yes, I saw that.
For pdfTeX's tool ttf2afm doesn't see a lot of letters in some fonts  
I guess pdfTeX's code for accessing letters in TT fonts is somewhat  
broken.

Or something in ConTeXt, I don't know.

E.g. if I install the Junicode fonts with texfont, the t5 table is  
half empty. If I create the AFMs with FontForge, it's mostly filled,  
but I get some of the glyph ... not found' warnings, i.e. it can  
access some more characters, but still not all.

But *all* of the characters should be there (they *are* in the font!).
'dcroat' (striked-through d) is a typical case.

Please, any of the wizards, what can we do?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-22 Thread VnPenguin
On 1/22/06, Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 Please, any of the wizards, what can we do?

I asked Han The Thanh this problem. He has done support for MS Core
Fonts (truetype) in VnTeX. So I hope he will give us some help.

Thanks,
--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-22 Thread Thomas A. Schmitz


On Jan 22, 2006, at 1:36 PM, Henning Hraban Ramm wrote:

E.g. if I install the Junicode fonts with texfont, the t5 table is  
half empty. If I create the AFMs with FontForge, it's mostly  
filled, but I get some of the glyph ... not found' warnings, i.e.  
it can access some more characters, but still not all.

But *all* of the characters should be there (they *are* in the font!).
'dcroat' (striked-through d) is a typical case.

Please, any of the wizards, what can we do?




OK, this may not be of much help, but I just converted GenR102.TTF to  
pfb via fontforge, and now the font correctly picks up the dcroat  
glyph. I mus admit I had similar situations in the past where simply  
regenerating the font would solve mysterious problems, so I shrugged  
my shoulders and did what a man must do. I think the new Gentium  
license allows for this conversion, and the LaTeX people will be  
distributing pfbs anyway, so why not convert to pfb (which is easier  
for TeX to use anyway?)


Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-22 Thread VnPenguin
On 1/22/06, Thomas A. Schmitz [EMAIL PROTECTED] wrote:

 OK, this may not be of much help, but I just converted GenR102.TTF to
 pfb via fontforge, and now the font correctly picks up the dcroat
 glyph. I mus admit I had similar situations in the past where simply
 regenerating the font would solve mysterious problems, so I shrugged
 my shoulders and did what a man must do. I think the new Gentium
 license allows for this conversion, and the LaTeX people will be
 distributing pfbs anyway, so why not convert to pfb (which is easier
 for TeX to use anyway?)


Hi Thomas,
You're completely right ! Just tried with PFB (converted by fontforge)
and it works :)

Thank you,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (was: palatino fonts)

2006-01-21 Thread Henning Hraban Ramm
With curiosity, does your typescripts for Gentium support T5  
encoding ? :)
We use Gentium ok for Vietnamese utf-8 here (Openoffice,  
Abiword,)

and it will be nice if you could provide vietnamese support ... :)


My type scripts always use \defaultencoding - that's not always the  
best,

but mostly... (One could use a list of appropriate encodings instead.)

I don't yet provide support files for t5 encoding, only ex,  
texnansi and qx.
But it would be no problem to make them for Gentium (and other  
fonts that

contain the glyphs).

But I must think about a better structure of my fonts list before...
(http://www.fiee.net/texnique/?menu=0-1-4)


Ok, Gentium is now online including t5 encoding. (That's not yet  
mentioned on the page.)


Now, Gentium also contains Greek glyphs, and some other fonts contain  
Cyrillic.
Which encoding should I provide for these scripts? (Only one for  
each, if possible!)


Is there any way how I could automatically detect, how much of some  
encoding a font covers?
E.g. check a font (TTF, OTF, AFM?) against texnansi, ec, qx, t5,  
t2a... and make the files for it if most of the slots could be filled.


Something completely different: I'm looking for an idea how I could  
automatically create a small font preview (one line) as a bitmap.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (was: palatino fonts)

2006-01-21 Thread VnPenguin
On 1/21/06, Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 Ok, Gentium is now online including t5 encoding. (That's not yet
 mentioned on the page.)

cool! I'll try it :)

Thank you so much,
Regards,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread VnPenguin
On 1/21/06, Henning Hraban Ramm [EMAIL PROTECTED] wrote:
...
 Ok, Gentium is now online including t5 encoding. (That's not yet
 mentioned on the page.)


Just tested your package. I loss a glyph which I dont know the name.
Its shot is at :
http://people.vnoss.org/~vnpenguin/pub/shots/gentium-dd.png

It seems that you use Gentium 1.01. With Gentium 1.02 in my box, I
could use this glyph no problem (the shot was done with Gentium 1.02
in Leafpad editor).

I try to replace your ttf by 1.02 release by modifying map file. But
this does not help. Maybe we need to recreate files with 1.02 ?

Thank you,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread Henning Hraban Ramm

Am 2006-01-21 um 20:26 schrieb VnPenguin:


Ok, Gentium is now online including t5 encoding. (That's not yet
mentioned on the page.)


Just tested your package. I loss a glyph which I dont know the name.
Its shot is at :
http://people.vnoss.org/~vnpenguin/pub/shots/gentium-dd.png

It seems that you use Gentium 1.01. With Gentium 1.02 in my box, I
could use this glyph no problem (the shot was done with Gentium 1.02
in Leafpad editor).

I try to replace your ttf by 1.02 release by modifying map file. But
this does not help. Maybe we need to recreate files with 1.02 ?


Sorry, I missed that update. Just downloaded it and created the files  
anew (now online), but no change.
I guess the strike-through d should be in slot 31; probably an  
encoding problem.
I guess I should update ConTeXt, another encoding problem in ec was  
fixed.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread Henning Hraban Ramm
Sorry, I missed that update. Just downloaded it and created the  
files anew (now online), but no change.
I guess the strike-through d should be in slot 31; probably an  
encoding problem.
I guess I should update ConTeXt, another encoding problem in ec was  
fixed.


It didn't help, 'dcroat' is still missing.

Ok, I tracked it down: The tool that creates AFMs from TTFs, that is  
called by texfont, doesn't get all characters!
I opened the font files with FontForge and wrote AFMs with that, now  
it works (same with Junicode).

A new upload will follow in some minutes.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread VnPenguin
On 1/21/06, Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 Sorry, I missed that update. Just downloaded it and created the files
 anew (now online), but no change.
 I guess the strike-through d should be in slot 31; probably an
 encoding problem.
 I guess I should update ConTeXt, another encoding problem in ec was
 fixed.


Just tried your new package.
1. In the file t5-sil-gentium.map, I see:
--
t5-raw-genai101 GentiumAlt-Italic 4  genai101.ttf t5.enc
t5-raw-genar101 GentiumAlt 4  genar101.ttf t5.enc
t5-raw-geni101 Gentium-Italic 4  geni101.ttf t5.enc
t5-raw-genr101 Gentium 4  genr101.ttf t5.enc
t5-raw-genai102 GentiumAlt-Italic 4  genai102.pfb t5.enc
t5-raw-genar102 GentiumAlt 4  genar102.pfb t5.enc
t5-raw-geni102 Gentium-Italic 4  geni102.pfb t5.enc
t5-raw-genr102 Gentium 4  genr102.pfb t5.enc
---
Why 1.01 ttf are still there ? And why 1.02 PFB while there are only
TTF in your package ?

2. I don't think that files fonts.cache-1 are necessary for ConTeXt :-)
$ unzip -l sil-gentium.zip | grep fonts.cache
0  08-10-05 11:50   fonts/afm/sil/gentium/fonts.cache-1
0  08-10-05 11:51   fonts/tfm/sil/gentium/fonts.cache-1
 3334  08-10-05 11:51   fonts/truetype/sil/gentium/fonts.cache-1
0  08-10-05 11:53   fonts/vf/sil/gentium/fonts.cache-1

Thank for your work,
Regards,
--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread Henning Hraban Ramm

Am 2006-01-21 um 23:13 schrieb VnPenguin:


1. In the file t5-sil-gentium.map, I see:
-- 


t5-raw-genai101 GentiumAlt-Italic 4  genai101.ttf t5.enc
t5-raw-genar101 GentiumAlt 4  genar101.ttf t5.enc
t5-raw-geni101 Gentium-Italic 4  geni101.ttf t5.enc
t5-raw-genr101 Gentium 4  genr101.ttf t5.enc
t5-raw-genai102 GentiumAlt-Italic 4  genai102.pfb t5.enc
t5-raw-genar102 GentiumAlt 4  genar102.pfb t5.enc
t5-raw-geni102 Gentium-Italic 4  geni102.pfb t5.enc
t5-raw-genr102 Gentium 4  genr102.pfb t5.enc
-- 
-

Why 1.01 ttf are still there ? And why 1.02 PFB while there are only
TTF in your package ?


texfont never deletes a mapfile - it writes not only a .bak, but also  
only appends entries, even if the old stuff is wrong...
Additionally, it always writes entries for PFB files, even if there  
are only TTF. A known bug (at least for me), but sometimes I forget  
to fix that.


Ok, I'm uploading the next version.

2. I don't think that files fonts.cache-1 are necessary for  
ConTeXt :-)


You're right, but they don't hurt also ;-)

I tried to config pango/fontconfig of my LilyPond installation so  
that it also finds TeX fonts.

Until now it only writes these cache files, but never uses the fonts...

At the moment I'm struggling with a font that uses different names in  
PFB, AFM and else. Chaos!

It doesn't even provide accentes characters. I guess I'll drop it.

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
http://www.cacert.org (I'm an assurer)


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings (glyph lossed with Gentium in T5)

2006-01-21 Thread VnPenguin
On 1/21/06, Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 Ok, I'm uploading the next version.

Just tested.

...
 ){/work/apps/teTeX/share/texmf-local/fonts/enc/dvips/vntex/t5.enc}/work/apps/
teTeX/share/texmf-local/fonts/truetype/sil/gentium/genr102.ttf
Warning: pdfetex (file /work/apps/teTeX/share/texmf-local/fonts/truetype/sil/ge
ntium/genr102.ttf): glyph `dcroat' not found

Output written on test-gentium.pdf (1 page, 25034 bytes).
Transcript written on test-gentium.log.

The glyph dcroat was not found :( I think there is problem in
Gentium fonts with this glyph.

Thank you,
Regards,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings

2005-05-05 Thread Hans Hagen
Thomas A.Schmitz wrote:
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break whenever 
it is used. So my question: is it possible to switch font encoding in 
mid-paragraph?
no problem, since font encodings are bound to fonts, not paragraphs; however, 
you need to keep in mind that hyphenation is related to the font encoding as 
well as the language; when a paragraph is converted to a list, it's known what 
font is used and the character codes are resolved (i.e. when mixing two font 
encodings \e may have resulted in a reference to slot 123 in fontA and slot 231 
in fontB which then may give funny hyphenation problems; so, when one language 
is chose, you may end up with greek hyphenated in for instance the german way 
when slots match those in the hyphenation patterns);

taco may shed more light on what exactly happens when mixing languages 
paragraphs
Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings

2005-03-16 Thread Hans Hagen
Thomas A.Schmitz wrote:
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break whenever 
it is used. So my question: is it possible to switch font encoding in 
mid-paragraph?
sure; fonts can be asociated with encodings and can be mixed in a paragraph;
your problem may be due to for instance a spurious space in one of your 
definitions
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] font encodings

2005-03-15 Thread Thomas A . Schmitz
Somehow this message didn't make it to the list...
Hi all,
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break 
whenever it is used. So my question: is it possible to switch font 
encoding in mid-paragraph?

Best
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] font encodings

2005-03-15 Thread Thomas A . Schmitz
Hi all,
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break 
whenever it is used. So my question: is it possible to switch font 
encoding in mid-paragraph?

Best
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings

2005-03-15 Thread luigi.scarso
Thomas A.Schmitz wrote:
Somehow this message didn't make it to the list...
Hmm, i read this message yesterday at 22:26
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context