Compare commits

..

No commits in common. "5181af6dbc5d08b75b6a614dba13e4370c41f4ea" and "6158bdb8324214c4d960765b3b017529e0f6916c" have entirely different histories.

3 changed files with 2 additions and 4 deletions

View File

@ -77,7 +77,7 @@ The wrapping SwiftUI view is pretty simple. It passes the string binding through
struct ExpandingTextView: View { struct ExpandingTextView: View {
@Binding var text: String @Binding var text: String
let minHeight: CGFloat = 150 let minHeight: CGFloat = 150
@State private var height: CGFloat? @State private var textViewHeight: CGFloat?
var body: some View { var body: some View {
WrappedTextView(text: $text, textDidChange: self.textDidChange) 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. 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.
**Update:** I installed Monterey in a virtual machine to check, and, indeed, the Page Setup dialog there bears no sign of Clarus. **Updated:** 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. 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,8 +103,6 @@ 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. 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> </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: 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.