Giter Site home page Giter Site logo

Comments (8)

dan-caprioara avatar dan-caprioara commented on July 20, 2024

We have an oXygen client requesting this feature. He needs to embed some fonts in order to render special characters. Probably having the fonts directory in the same directory with the CSS file would be fine.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

Would SyncroSoft be in a position to provide an implementation for this? With my current workload I wouldn't be able to look at this until later this week at the earliest.

from org.dita4publishers.epub.

dan-caprioara avatar dan-caprioara commented on July 20, 2024

Fortunately there is no hurry from the client perspective (he expects to see it in a couple of months). But of course I will take a look at the plugin implementation.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

It shouldn't be that hard to implement but it will requiring thinking through the requirements a bit to make sure the mechanism is sufficiently flexible and extensible.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

Initial approach is to create a "font manifest" file that lists the fonts to be included. This makes it easy for the XSLT process to generate entries for the fonts in the graphic map.

Another approach would be to use a specialized topic ref to point to font files but that requires each document to know what fonts it wants to use, which is probably not appropriate most of the time.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

Have defined a "font-manifest" doctype in the doctypes plugin.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

Also adding common font extensions to the list of built-in files copied by the zip process.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 20, 2024

Closing as implemented in 1.0.0RC17

from org.dita4publishers.epub.

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.