Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: New sample page for Anglo-Saxon #37

Open
StefanSchroeder opened this issue Apr 20, 2017 · 7 comments
Open

Suggestion: New sample page for Anglo-Saxon #37

StefanSchroeder opened this issue Apr 20, 2017 · 7 comments

Comments

@StefanSchroeder
Copy link

I am in the process of compiling a few sample pages for typesetting Anglo-Saxon scripture.
I would like to donate some of these to the examples if appreciated.

Draft here:

https://github.com/StefanSchroeder/sile-stuff/blob/master/anglo.pdf

@simoncozens
Copy link
Member

Interesting - I would like to see this included but the font isn't embedding for me:
screen shot 2017-04-21 at 09 04 11

I'll have a look at your repository and see what's going on.

simoncozens referenced this issue in sile-typesetter/sile Apr 20, 2017
@StefanSchroeder
Copy link
Author

I did install all the fonts from the referenced package and thus they are of course available when I display it. I wasn't aware that extra tweaks were are required to embed the fonts. I think it's a good idea to make embedding the fonts the default... I guess what you were saying was in fact this also was your expectation, right?

@simoncozens
Copy link
Member

Yes - so now SILE tries a bit harder to embed fonts.

Going back to the original question, I'd be very happy to have some examples of Anglo-Saxon scripture, and since the Beowulf font appears to be freely redistributable we can put it into the repository so that the examples can be easily rebuilt. Are you happy with the way SILE is handling Anglo-Saxon text? (I don't know, for example, how it should deal with hyphenation / line continuations. I don't think AS has a hyphen, but I don't know if words should be wrapped or kept on the same line.) When we have something looking good it would be great to add it in.

@StefanSchroeder
Copy link
Author

When using
gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf
to enforce embedding of fonts, I get the following message:

stefan@debian:~/sile-stuff$ gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=output.pdf anglo.pdf
Can't find CMap Identity-UTF16-H building a CIDDecoding resource.
Warning: falling back to Identity ordering
**** Warning: can't process font stream, loading font by the name.
Can't find CMap Identity-UTF16-H building a CIDDecoding resource.
Can't find CMap Identity-UTF16-H building a CIDDecoding resou **** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.
**** Warning: File has unbalanced q/Q operators (too many q's)

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> SILE <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

Should I open an issue for this?

@StefanSchroeder
Copy link
Author

StefanSchroeder commented Apr 30, 2017

Regarding the question of line breaking and hyphenation; the existing body of text from the Anglo-Saxon era is probably too small and the concept of having any rules regarding this matter in the first place to allow any final answer probably didn't arise yet. I will have a look if I can make out anything...

@StefanSchroeder
Copy link
Author

I have now recreated the PDF and the 'pdffonts' command indeed tells me that the Beowulf1 font is now embedded. Please have another look.

@Omikhleia
Copy link
Member

IMHO, this ticket, regarding the proposed example ought to be moved to https://github.com/sile-typesetter/sile-typesetter.github.io (the SILE website, where examples are now handled) - and if approved there, a PR should be made.

FWIW, the referred commit for the font embedding issue also raised here was fixed in 0.9.5 --> Closed.

@alerque alerque transferred this issue from sile-typesetter/sile Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants