Git Product home page Git Product logo

Comments (5)

Intelligent2013 avatar Intelligent2013 commented on June 27, 2024

I've made some experiments with fonts. Results:

  1. some glyphs in font STIX2Math look a bit thicker than Times New Roman (compare char S below).
  2. jEuclid converts MathML into SVG paths (not text), therefore resulted SVG image in PDF looks thicker.
    Here is discussed why jEuclid converts text to path: https://sourceforge.net/p/jeuclid/mailman/message/21997700/
> We have run into some more basis problems with the printed output -- the
> formulas seem blurred. I suspect this is because the text in the SVG is
> converted to paths, rather than being represented as text. Are there any
> tricks to acheiving better print output? (I'll email you a sample
> document separately.)
Yes, this is due to the conversion of fonts -> line graphics. On my
printer the formulas look a little bit thicker, but not blurry, and
actually look better than the rest of the text :)

The main reason for this conversion is that Fonts are handled very
differently by different systems - MathML has many dependencies on
special fonts and characters, and JEuclid has a smart
character-replacement strategy. For this to work, however, it must be
ensured that the font information known to JEuclid is EXACTLY the same
that is available to the final renderer - and this is where a lot of the
existing systems break. Even different versions of the same font may
have different characters available on different systems or when loaded
through different methods (such as ps-fonts vs. ttf fonts). Especially
with the two-step conversion (-> svg, -> pdf), we have two intermediate
renderers which again have their own font processing and metrics
definition. The only way out of this inconsistency was to let Jeuclid
also render the fonts.


  1. Math equations in source PDF looks identical as main text, because most chars typed by 'Times New Roman' font (as main text) and rendered in PDF as text (not paths).

Here is resulted PDF with a few math text representation:
si-brochure-en.presentation.pdf

100%:
изображение

125%:
изображение

150%:
изображение

300%:
изображение

from bipm-si-brochure.

anermina avatar anermina commented on June 27, 2024

Just to confirm that I get the same result as Manuel displayed in Adobe Acrobat Reader DC, version 2020.013.20066 (Windows OS).

Issue about different appearance of stem:[cc(K)] is probably caused by the same behavior as for the rest of the differences.
image

from bipm-si-brochure.

opoudjis avatar opoudjis commented on June 27, 2024

@ronaldtse @Intelligent2013 Is this ticket actionable? It sounds like it isn't.

from bipm-si-brochure.

ronaldtse avatar ronaldtse commented on June 27, 2024

BIPM's publication department is now reviewing the document, let's see if they notice this.

from bipm-si-brochure.

ronaldtse avatar ronaldtse commented on June 27, 2024

We have not received complaints due to this. Closing.

from bipm-si-brochure.

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.