Skip to content

Commit

Permalink
[Case Study] Fix some spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
meuble committed Nov 29, 2023
1 parent 27efb23 commit ebff2b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2023-04-17-case-study-ridisi.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The Ridisi augmentation itself is done through heavy CSS and a Javascript parser
\- graphemes detection and counting
\- phoneme assignation

From this internal text representation, an in depth **Trix customization* print out the analysed text into HTML nodes of our own HTML5 tags: `<word>`, `<syllable>`, `<grapheme>`, each with specific attributes.
From this internal text representation, an in depth **Trix customization** print out the analyzed text into HTML nodes of our own HTML5 tags: `<word>`, `<syllable>`, `<grapheme>`, each with specific attributes.

**A set of CSS rules decorate this HTML document** with the available helps:

Expand All @@ -66,8 +66,8 @@ From this internal text representation, an in depth **Trix customization* print

\- wkhtmltopdf: using internally an old version of QTWebkit, this engine doesn't handle advanced CSS rules. For instance, `border-radius` used to display bezier curves under syllables is broken in some cases.
\- an in house deployement of headless Chromium: on top of other issues described in the next solution, this deployment was ressource intensive for our servers and too costly.
\- a third party solution, PDFShift, based on headless Chromium: by getting ride of resources consomsion and scalability issues, we kept here issues with Webkit print version of document using a custom `word-spacing` or `letter-spacing`. This caused Webkit to incorrectly wrap text at the end of the bounding box (or document).
\- a third party solution, DocRaptor, based on a proprietary PDF rendering engine, PrinceXML. This is the solution currently used in production. It also had issues with `word-spacing` rules on unbreakable spaces, that we eleviated by cleaning them for classic spaces. This can still be problematique in front of punctuation marks that need a space before, when they end up at the end of a line, though.
\- a third party solution, PDFShift, based on headless Chromium: by getting ride of resources consomption and scalability issues, we kept here issues with Webkit print version of document using a custom `word-spacing` or `letter-spacing`. This caused Webkit to incorrectly wrap text at the end of the bounding box (or document).
\- a third party solution, DocRaptor, based on a proprietary PDF rendering engine, PrinceXML. This is the solution currently used in production. It also had issues with `word-spacing` rules on unbreakable spaces, that we eleviated by cleaning them for classic spaces. This can still be problematic in front of punctuation marks that need a space before, when they end up at the end of a line, though.


- - -
Expand Down

0 comments on commit ebff2b7

Please sign in to comment.