Re: Japanese fonts do not appear in desired weights

2003-11-26 Thread J.Pietschmann
Graham Hannington wrote:
This is a TrueType collection file with2 fonts
Containing the following fonts:
MS Mincho
MS PMincho
This means you can only select "MS Mincho" and "MS PMincho".
Whatever the last one is. Generate the metrics, an appropriate
userconfig and try it out:
 こんに
  
 こんに
  
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help: how to make an external link to a specific position in an external PDF file

2003-11-26 Thread J.Pietschmann
Urban Spielmann wrote:
:( But this link does NOT work; AdobeReader opens the internet browser
with the address http://file.pdf#MY_BLOCK_ID:

external-destination="file.pdf#MY_BLOCK_ID">Link
 
So, how do I have to specify a link to a specific position in an
external file of the SAME directory?
See
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19693
I don't think the patch made it into the code yet.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
> I would definitely try generating a different .xml from the same .ttc, but
change the -ttc param to say "MS Mincho Bold" (--you get the idea) See if
that works out okay.

I tried "MS Mincho Bold" and several other variations ("... bold",
"...-Bold", "... (Bold)"), but they all resulted in:

This is a TrueType collection file with2 fonts
Containing the following fonts:
MS Mincho
MS PMincho
java.io.IOException: Failed to read font
at org.apache.fop.fonts.TTFFile.readFont(Unknown Source)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(Unknown Source)
at org.apache.fop.fonts.apps.TTFReader.main(Unknown Source)


Shame, it *was* a nice idea. Thanks for the suggestion :-).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Andreas L. Delmelle
> -Original Message-
> From: Graham Hannington [mailto:[EMAIL PROTECTED]
>
> Yep, I can see how that would be a problem... in my defence ;-),
> I was just
> copying lines in the supplied userconfig.xml that also does this.
> Is there a
> way to get TTFReader to extract separate bold, italic and bold-italic XML
> metrics files from a single .ttc? (This is assuming that the .ttc *does
> actually* contain the bold etc. glyphs, as per Chris's point, below.)
>

If it does, it probably has a separate name for each series of glyphs for
the different weights/styles (haven't used any embedded fonts other than
.ttf already split up in separate files, so can't say for sure)

I would definitely try generating a different .xml from the same .ttc, but
change the -ttc param to say "MS Mincho Bold" (--you get the idea) See if
that works out okay.


Cheers,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
Andreas, Chris,

Thanks very much for your responses.

Andreas,

> When embedding fonts, a separate metrics file should be generated for
bold, italic and bold-italic (that is, if you want them to work properly).
Right now, your userconfig maps all combinations (normal, bold, italic,
bold-italic) to one and the same metrics file.

Yep, I can see how that would be a problem... in my defence ;-), I was just
copying lines in the supplied userconfig.xml that also does this. Is there a
way to get TTFReader to extract separate bold, italic and bold-italic XML
metrics files from a single .ttc? (This is assuming that the .ttc *does
actually* contain the bold etc. glyphs, as per Chris's point, below.)

It does strike me as weird that MS Gothic is showing up in bold... when I
view this font in the Windows Character Map application, or set the Notepad
font to MS Gothic, then it appears at a much lighter (I presume, normal)
weight. Any idea why this might be happening? (On the positive side, maybe
this means that the msgothic.ttc *does* contain both normal and bold
faces... if only I knew how to generate separate metrics files for each
weight.)

Chris,

> Unlike M$ Word, XSL-FO processors do not "emulate" bold text. Therefore
the its up to the source font to contain glyphs for both bold and normal
weights.

Ah, gotcha. Is there an easy way to find out for sure whether fonts
(specifically, the fonts in msgothic.ttc and msmincho.tff) actually *do*
contain the different weight glyphs? (Erm, I mean: in addition to trying to
render these fonts in bold via an XSL-FO processor? ;-)

> Japanese Fonts typically contain glyphs for one weight. I know this
because this subject has been discussed on this list before.

Oops: I did search the archives before I asked, I swear :-). I've gone back
and had another look...

> Recommended course of action: find a Japanesse font that has glyphs for
both weights. Although I'm not sure any exist; hence the frequency of this
question.

I can't see any suggestions for (freeware) Japanese fonts (I'm cheap too :-)
with different glyph weights... anyone know of any, and where I can get 'em?
(I'm off to Google for some now...) If I can't find any, then, as suggested
by others in previous emails, I'll make do with a combination of fonts
(although why MS Gothic appears in bold still bugs me...).

Thanks again for the advice.

Regards,
Graham Hannington

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Japanese fonts do not appear in desired weights

2003-11-26 Thread Chris Bowditch
Graham Hannington wrote:
I'm using FOP to produce English and Japanese PDFs.
For English, I use Helvetica and the system "monospace" (Courier) fonts. For
Japanese, I use MS PMincho and MS Gothic.
In the English PDFs, the fonts appear at their desired weights (such as bold
or normal).
In the Japanese PDFs, the fonts appear at a single weight. PMincho appears
throughout in normal weight, Gothic appears throughout in bold weight.
Weird.
Unlike M$ Word, XSL-FO processors do not "emulate" bold text. Therefore 
the its up to the source font to contain glyphs for both bold and normal 
weights.

Japanese Fonts typically contain glyphs for one weight. I know this 
because this subject has been discussed on this list before.

Recommended course of action: find a Japanesse font that has glyphs for 
both weights. Although I'm not sure any exist; hence the frequency of 
this question.


Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Andreas L. Delmelle
> -Original Message-
> From: Graham Hannington
>
> I'm using FOP to produce English and Japanese PDFs.
>

>
> In the Japanese PDFs, the fonts appear at a single weight. PMincho appears
> throughout in normal weight, Gothic appears throughout in bold weight.
> Weird.
>
> MS PMincho and MS Gothic are defined in TrueType collection (.ttc) files,
> msmincho.ttc and msgothic.ttc.
>

When embedding fonts, a separate metrics file should be generated for bold,
italic and bold-italic (that is, if you want them to work properly). Right
now, your userconfig maps all combinations (normal, bold, italic,
bold-italic) to one and the same metrics file.



Greetz,


Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
I'm using FOP to produce English and Japanese PDFs.

For English, I use Helvetica and the system "monospace" (Courier) fonts. For
Japanese, I use MS PMincho and MS Gothic.

In the English PDFs, the fonts appear at their desired weights (such as bold
or normal).

In the Japanese PDFs, the fonts appear at a single weight. PMincho appears
throughout in normal weight, Gothic appears throughout in bold weight.
Weird.

MS PMincho and MS Gothic are defined in TrueType collection (.ttc) files,
msmincho.ttc and msgothic.ttc.

Here's a log of messages from TTFReaderor (for PMincho):

C:\devtools\Docs\fop>java -cp
build\fop.jar;lib\avalon-framework.jar;lib\xml-api
s.jar;lib\xercesImpl.jar;lib\xalan.jar org.apache.fop.fonts.apps.TTFReader
-ttcn
ame "MS PMincho" c:\windows\fonts\msmincho.ttc mspmincho.xml
TTF Reader v1.1.1

Reading c:\windows\fonts\msmincho.ttc...

This is a TrueType collection file with2 fonts
Containing the following fonts:
MS Mincho
* MS PMincho
Number of glyphs in font: 17807
Postscript format 3
Creating xml font file...

Creating CID encoded metrics
Writing xml font file mspmincho.xml...

This font contains no embedding license restrictions


And here's an extract from my userconfig.xml:














Yes, the .ttc files *do* exist at that style\fonts\ location, relative to
the .fo input file, when FOP runs... the resulting PDF displays PMincho and
Gothic fine, just not in the right weights.

Any ideas?

Regards,
Graham Hannington

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Employment Opportunity

2003-11-26 Thread Richard Sweeney
Great, now my boss thinks I'm looking for another job :(

-Original Message-
From: Sean Johnston [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 11:36
To: '[EMAIL PROTECTED]'
Subject: Employment Opportunity


Apologies in advance if this an inapropriate posting.

I'm a specialist Java recruiter and have an opportunity, based in London,
which could be of interest to members of your group if UK based and seeking
work.

I am currently recruiting for a contract Technical Architect;-
 
We seek an experienced Java Developer / Technical Architect to specify and
assist in the build of an XML based Document management system that delivers
materials designed in Quark and InDesign as PDF's via a web
interface. Skills; Excellent knowledge of XML, PDF's, Java, Applets,
Servlets, Document Management Systems. In particular some experience with
Adobe Document Server would be useful.

Duration; 4 weeks initial

Location; London

Rates; UK market rates

Start Date; ASAP

Please contact me directly if interested

.
Many thanks,


Sean Johnston
Principal Consultant
Interactive and Emerging Technologies 

GCS Computer Recruitment Services
London Office

Tel - 020 7307 6363 
mailto:[EMAIL PROTECTED]
www.gcsltd.com 



___
GCS Computer Recruitment Services

Reading Office
Tel:  0118 956  3900  Fax:  0118 959  4554

London Office
Tel:  0207 307 6363   Fax:  0207 307 6370

The Best of Both Worlds - our website offers interactive facilities for
both clients and candidates. http://www.gcsltd.com

We do not intend to send unsolicited email. Kindly accept our apologies 
if you have received this email in error. Please respond to 
[EMAIL PROTECTED] if you would like to be removed from our list. 
All removal requests will be immediately honoured. If you have more than 
one identity, please inform us.

Internet communications are not secure and therefore GCS does not accept
legal responsibility for the contents of this message. Any views or 
opinions presented are solely those of the author and do not necessarily 
represent those of GCS.

GCS complies with the provisions of the Data Protection Act 1998 and 
expects the recipient of this document/communication and any attachments 
to do so in respect of the contents. GCS will not accept responsibility 
for any failure by the recipient to comply with the requirements of the 
Act in respect of any document/communications sent by GCS to the recipient.
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Employment Opportunity

2003-11-26 Thread Sean Johnston
Apologies in advance if this an inapropriate posting.

I'm a specialist Java recruiter and have an opportunity, based in London,
which could be of interest to members of your group if UK based and seeking
work.

I am currently recruiting for a contract Technical Architect;-
 
We seek an experienced Java Developer / Technical Architect to specify and
assist in the build of an XML based Document management system that delivers
materials designed in Quark and InDesign as PDF's via a web
interface. Skills; Excellent knowledge of XML, PDF's, Java, Applets,
Servlets, Document Management Systems. In particular some experience with
Adobe Document Server would be useful.

Duration; 4 weeks initial

Location; London

Rates; UK market rates

Start Date; ASAP

Please contact me directly if interested

.
Many thanks,


Sean Johnston
Principal Consultant
Interactive and Emerging Technologies 

GCS Computer Recruitment Services
London Office

Tel - 020 7307 6363 
mailto:[EMAIL PROTECTED]
www.gcsltd.com 



___
GCS Computer Recruitment Services

Reading Office
Tel:  0118 956  3900  Fax:  0118 959  4554

London Office
Tel:  0207 307 6363   Fax:  0207 307 6370

The Best of Both Worlds - our website offers interactive facilities for
both clients and candidates. http://www.gcsltd.com

We do not intend to send unsolicited email. Kindly accept our apologies 
if you have received this email in error. Please respond to 
[EMAIL PROTECTED] if you would like to be removed from our list. 
All removal requests will be immediately honoured. If you have more than 
one identity, please inform us.

Internet communications are not secure and therefore GCS does not accept
legal responsibility for the contents of this message. Any views or 
opinions presented are solely those of the author and do not necessarily 
represent those of GCS.

GCS complies with the provisions of the Data Protection Act 1998 and 
expects the recipient of this document/communication and any attachments 
to do so in respect of the contents. GCS will not accept responsibility 
for any failure by the recipient to comply with the requirements of the 
Act in respect of any document/communications sent by GCS to the recipient.
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help: how to make an external link to a specific position in an external PDF file

2003-11-26 Thread Urban Spielmann
Title: Nachricht



:) The following 
link works fine; AdobeReader jumps to the specified block:
Link
 
:) The next link 
works fine, too; AdobeReader jumps to the beginning of the external document 
(file.pdf):

Link
 
:( But this link 
does NOT work; AdobeReader opens the internet browser with the address http://file.pdf#MY_BLOCK_ID:
Link
 
So, how do I have to 
specify a link to a specific position in an external file of the SAME 
directory?
 
Thanks for any 
help.
 
Best 
regards
Urban