Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomasf/richtext

TextKit-based companion library for SwiftSCAD
https://github.com/tomasf/richtext

Last synced: 2 days ago
JSON representation

TextKit-based companion library for SwiftSCAD

Awesome Lists containing this project

README

        

# RichText

RichText is a macOS-specific companion library for SwiftSCAD that adds TextKit-based text generation. This enables proper Unicode support, richer typography, attribute ranges, multi-line text, constrained layout, bounding boxes, glyph-level manipulation and more.

This package also contains a `Geometry2D` extension for `CGPath` that can be used for other Core Graphics-related purposes.


let package = Package(
name: "thingamajig",
dependencies: [
.package(url: "https://github.com/tomasf/SwiftSCAD.git", .upToNextMinor(from: "0.9.0")),
.package(url: "https://github.com/tomasf/RichText.git", from: "0.2.0")
],
targets: [
.executableTarget(name: "thingamajig", dependencies: ["SwiftSCAD", "RichText"])
]
)