Skip to content

Commit

Permalink
[docs] Simplify logo's SVG source, down scale png version
Browse files Browse the repository at this point in the history
* SVG version is simplified using SVGO and some hand tweak
* PNG result of SVG logo is optimized using pngwolf-zopfli
* Down scaled to fit visually a little better on docs page
  • Loading branch information
ebraminio committed May 7, 2020
1 parent 0b261c5 commit 1ec7752
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 276 deletions.
Binary file modified docs/HarfBuzz.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

3 comments on commit 1ec7752

@gvanem
Copy link

@gvanem gvanem commented on 1ec7752 Jul 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What has happened with the HarfBuzz.png file? It renders to a black image in both IrfanView and (get this) Google Chrome.

I'm trying to build HarfBuzz.pdf using PanDoc (since I do not have GTK-doc). Current I use this make-pdf.bat file (I'm on Win-10):

@echo off
setlocal
echo HB_VERSION=2.6.8 > version.xml
set XML_INPUT=HarfBuzz-docs.xml                                    ^
              usermanual-what-is-harfbuzz.xml                      ^
              usermanual-install-harfbuzz.xml                      ^
              usermanual-getting-started.xml                       ^
              usermanual-glyph-information.xml                     ^
              usermanual-shaping-concepts.xml                      ^
              usermanual-object-model.xml                          ^
              usermanual-buffers-language-script-and-direction.xml ^
              usermanual-fonts-and-faces.xml                       ^
              usermanual-opentype-features.xml                     ^
              usermanual-clusters.xml                              ^
              usermanual-utilities.xml                             ^
              usermanual-integration.xml                           ^
              version.xml
pandoc --from docbook --output HarfBuzz.pdf --pdf-engine xelatex %XML_INPUT%

The text in this HarfBuzz.pdf is okay, but the nice Arabic picture is not.

@ebraminio
Copy link
Collaborator Author

@ebraminio ebraminio commented on 1ec7752 Jul 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remember used some png optimizer, oh as noted in commit message it was pngwolf-zopfli, if it doesn't work feel free to upload a new render of rsvg-convert HarfBuzz.svg and preferably use some optimizer or not and upload it if it works for you also. Thanks :)

@ebraminio
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or who cares about png optimization, have uploaded a new render right away 8b63de1, thanks :)

Please sign in to comment.