Compare commits

...

2 Commits

Author SHA1 Message Date
Shadowfacts 5181af6dbc Add Clarus pdf 2022-06-15 22:00:09 -04:00
Shadowfacts 4c76744365 Fix typo 2022-06-15 21:59:50 -04:00
3 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,7 @@ The wrapping SwiftUI view is pretty simple. It passes the string binding through
struct ExpandingTextView: View {
@Binding var text: String
let minHeight: CGFloat = 150
@State private var textViewHeight: CGFloat?
@State private var height: CGFloat?
var body: some View {
WrappedTextView(text: $text, textDidChange: self.textDidChange)

View File

@ -23,7 +23,7 @@ Did you know that with macOS Ventura, Clarus the Dogcow has at long last returne
I don't have a Monterey machine to test it at the moment (I, er, [accidentally](https://social.shadowfacts.net/notice/AKGSrBOxnVDVO0ueem) updated my laptop to the beta), but I _believe_ this is a new change with Ventura.
**Updated:** I installed Monterey in a virtual machine to check, and, indeed, the Page Setup dialog there bears no sign of Clarus.
**Update:** I installed Monterey in a virtual machine to check, and, indeed, the Page Setup dialog there bears no sign of Clarus.
The next step, then—having been thoroughly nerd-sniped by this—was to figure out where the icon was coming from and if I could pull it out of whatever nook it was hidden in.
@ -103,6 +103,8 @@ The keen-eyed among you may notice that although, it had a `.pdf` extension in `
As `assetutil` showed, there are multiple entries for `ClarusSmooth2.pdf`—and one of them is followed by data that starts with the PDF file format header (`%PDF`). But, unfortunately, extracting that data into a separate file seems to result in a blank PDF. And I don't know enough about the format to figure out whether there is any vector data in it, or if it truly is empty.
**Update:** [Reid Ellis](https://mastodon.social/users/clith/statuses/108482914539340482) managed to extract the actual PDF data, so here's Clarus in all of the <a href="<%= metadata.permalink %>clarus.pdf" data-link="<%= metadata.permalink %>clarus.pdf">infinite smoothness</a>.
</aside>
Lastly, if you're writing a Mac app and would like to hide Clarus somewhere, you can load the bundle yourself and then pull the image out like so:

Binary file not shown.