Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tomasf/richtext
- Owner: tomasf
- License: mit
- Created: 2024-03-24T14:19:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-02T11:11:36.000Z (about 1 month ago)
- Last Synced: 2025-01-30T23:41:15.933Z (7 days ago)
- Language: Swift
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"])
]
)