Giter Club home page Giter Club logo

Comments (7)

simoncozens avatar simoncozens commented on June 10, 2024

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.

from sile-typesetter.github.io.

StefanSchroeder avatar StefanSchroeder commented on June 10, 2024

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?

from sile-typesetter.github.io.

simoncozens avatar simoncozens commented on June 10, 2024

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.

from sile-typesetter.github.io.

StefanSchroeder avatar StefanSchroeder commented on June 10, 2024

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?

from sile-typesetter.github.io.

StefanSchroeder avatar StefanSchroeder commented on June 10, 2024

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...

from sile-typesetter.github.io.

StefanSchroeder avatar StefanSchroeder commented on June 10, 2024

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

from sile-typesetter.github.io.

Omikhleia avatar Omikhleia commented on June 10, 2024

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.

from sile-typesetter.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.