testing framework GSoC
hello, I just want to comment on Aman's query regarding running the framework locally, for running it locally 1. firstly you need to follow some instructions which are given on this page - https://lists.nongnu.org/archive/html/freetype-devel/2020-07/msg00147.html . 2. one thing that I was also missing at first that you have to change the name of the cloned file from 'freeType' to 'freetype2'. 3. make sure to install all required stuff and you should have test-fonts that contain .ttf files inside your home. I think this will sort your problem as far as i have understood it :) Thanks Sarthak
Re: Completion of OT-SVG
Hello Moazin, > I'm free for a few months and I'd like to finalize the OT-SVG > project. Excellent! > [...] I'm wondering what approach would let applications/libraries > benefit the most from FreeType's OT-SVG support. I think the main benefit is simplifying the interface, this is, letting FreeType handle all fonts, regardless of its format. Werner
Completion of OT-SVG
Hi all, I'm free for a few months and I'd like to finalize the OT-SVG project. I'd be sending more emails to this list discussing things soon however there's one thing on which I want to hear your opinion first. I'm relatively new to fonts, FreeType, and the whole font stack, so I don't know much about the "users" of FreeType and the way they "use" FreeType. I'd like to know how applications/libraries will be using the OT-SVG support of FreeType. Inkscape, for example, directly reads the SVG documents using Harfbuzz's APIs and renders them by its own SVG renderer. I think Firefox does something similar. I don't think Chromium supports SVG glyphs right now. I'm wondering what approach would let applications/libraries benefit the most from FreeType's OT-SVG support. Skia uses FreeType to render glyphs and I think once OT-SVG support is released in FreeType, with few additions to Skia code, it should be able to render OT-SVG glyphs directly. Perhaps Chromium and other applications that rely on Skia can benefit from this? One more thing that I wanted to ask is, which graphics rendering engines (Skia, Cairo, QT, CoreGraphics, GDI+, etc) and SVG rendering libraries (librsvg, resvg, svg-native-viewer, etc) would be favored by what kind of users of FreeType? Once the support is released, applications like Chromium (that have their own SVG renderers) will have the option to do it the way Inkscape does, or use FreeType for the rendering too. One advantage to letting FreeType render it would be that features that are not a part of SVG Native (or say the restricted subset of SVG that's used in OT-SVG glyphs) will be automatically restricted. Otherwise, they'd have to write code to handle that themselves (if restricting is important to them, of course). SVG Native Viewer already restricts such features and I'm grateful that Federico, the maintainer of librsvg, is willing to incorporate SVG Native support to librsvg. He also mentioned that they'd be willing to provide a separate build option that can remove the whole font stack from the compilation process and lead to a small binary size. Warm Regards, Moazin
Re: testing framework GSOC
Hello Aman, > i wanna ask that can we run this framework in any other way than > running locally or not? The idea is to have this run remotely eventually, using the CI capabilities of the gitlab instance on freedesktop.org (or maybe something else in case this isn't sufficient for whatever reason) to automatically generate HTML pages with images. However, it doesn't make a big difference: The CI stuff has to be tested and prepared locally; to do debugging is probably a nightmare otherwise. So it boils down whether it is ok that extra prerequisites are required, and the answer is yes. Here is an example MR (merge request) for the LilyPond typesetter that I've already sent some months ago to the list: https://gitlab.com/lilypond/lilypond/-/merge_requests/589 and here are the artifacts of a successfully executed pipeline job for online viewing (doing `make test` for the MR and comparing it to a baseline's `make test`): https://lilypond.gitlab.io/-/lilypond/-/jobs/944871436/artifacts/test-results/index.html Whether you say `make test` on your computer or whether the CI engine does `make test`, there isn't a difference. In both cases HTML files are generated. > Please do share the process because i got nothing related to this > related on readme.. and is process of running locally is written > clearly in the documentation because there is difference between > instructions given in readme and report given to mailing list by > Greg Williamson. It is not clear what problems arise for you because of the local vs. remote thing. Please elaborate. Maybe I don't understand you correctly. Werner