jfreesvg

A fast, lightweight Java library for creating Scalable Vector Graphics (SVG) output. (by jfree)

Jfreesvg Alternatives

Similar projects and alternatives to jfreesvg based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better jfreesvg alternative or higher similarity.

jfreesvg reviews and mentions

Posts with mentions or reviews of jfreesvg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-05.
  • Reducing code size in (Rust) librsvg by removing an unnecessary generic struct
    4 projects | news.ycombinator.com | 5 Mar 2023
  • Different algorithms for converting binary to decimal floating-point numbers
    4 projects | news.ycombinator.com | 9 Feb 2023
    In Java, many number-to-string implementations use NumberFormat. This is abysmally slow if the problem domain doesn't require internationalization, which is the case for machine-readable file formats, such as SVG. When I performance tested JMathTeX for rendering TeX, the bottleneck for converting TeX into SVG elements was JFreeSVG's use of NumberFormat[0]. Replacing NumberFormat with RyuDouble doubled the throughput[1]. (Reusing a StringBuilder for to concatenate strings yielded another doubling.)

    For KeenType[2], a fork of the New Typesetting System (and more complete TeX implementation than JMathTeX), I added an SVG generator that converts numbers to string using a StackOverflow answer[3], instead of using Ryu[4]. The performance was even better and the algorithm vastly simpler.

    Knuth was right: measure, then optimize.

    [0]: https://github.com/jfree/jfreesvg

    [1]: https://github.com/jfree/jfreesvg/pull/30

    [2]: https://github.com/DaveJarvis/KeenType

    [3]: https://stackoverflow.com/a/10554128/59087

    [4]: https://github.com/DaveJarvis/KeenType/blob/fef005579021f394...

Stats

Basic jfreesvg repo stats
2
310
4.9
6 days ago

jfree/jfreesvg is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of jfreesvg is Java.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com