Wednesday, September 21, 2022

Where to find Adobe CC fonts

I've been using Adobe CS6 for the past several years rather than switching to Creative Cloud. I'm one of those crazy people who doesn't want to pay $600 every year for the same software. This hasn't been a problem up until now, when a client needed a file put together using some specific fonts and had no way of sending them to me.

Seriously. The file was created with InDesign CC, and Adobe will not let you include the fonts when packaging it up. They do this to force more people to sign up for Creative Cloud, of course, but nobody's going to pay $600 just to access a few fonts for one project. Certainly not me.

So here's how I got the files. It was tricky, because Adobe does not want you to know where they are. But they're here:

Mac: /Users/<your user name>/Library/Application Support/Adobe/CoreSync/plugins/livetype/.r

Windows: C:\Users\<your user name>\AppData\Roaming\Adobe\CoreSync\plugins\livetype\r

Now, when you open this folder (on Windows anyway), you won't see fonts per se. You'll see some files with no file extensions and given numbers instead of names. But those are your fonts. Just copy them out and add a ".ttf" file extension, and viola! You've got your fonts.

Friday, December 17, 2021

WordPress Preview Not Working

I don't like Google as a company, but there's a reason I wind up using their search engine rather than DuckDuckGo. Here's an example.

I'm having a problem with WordPress where, if I hit "preview," I get an error page instead of a preview of my page (saying "This is somewhat embarrassing, isn’t it?"). In search of a solution, I go to DuckDuckGo and search for "WordPress preview page not found."

The result — a bunch of completely unhelpful pages.
Yeah, I know how to use the preview function, DuckDuckGo. How about help finding the problem I described in my search query? So, I go to Google with the exact same search term. Guess what?
Hey! There we go! Several sites with people posting about the problem I'm having. Maybe those sites will be useless, but at least I'm finding what I actually searched for. This site is the one that had the correct solution, by the way. Just in case the page disappears someday (which happens often), I'll recap the steps to fix this problem below.
  1. In your browser, log out of your WordPress site (or sites if you have more than one logged in.)
  2. Close all your browser windows, even the minimized ones.
  3. Relaunch your browser and make sure it only has only one tab open.
  4. Click the menu at the top right of your browser window (it usually three horizontal lines)  and choose "Settings." This opens up a new page.
  5. Click on the "History" tab at the top. Then click "clear browsing data" on the left hand side.
  6. Under "advanced," check everything except passwords and auto-fill form data. Then click "clear data."
  7. Repeat the process under Basic, with browsing history, cookies, and caches images and files. Choose "all time" for the time range and choose "clear data."
  8. Close your browser and start it up again.

Monday, May 24, 2021

Something went wrong

This screenshot perfectly encapsulates the "Microsoft experience" I've had throughout my entire life. "Something went wrong," followed by some incomprehensible errors codes and only one option presented: to give up.

Saturday, January 2, 2021

Backing up Google Autheticator

So my phone is having Stupid Issues yet again, so I'm going to do a factory reset as a last resort before buying a new phone. Of course, I can't just wipe the phone without more Stupid Issues. Namely, I have a number of sites that, for one reason or another, require I use Google Authenticator to access them.

So, how do I backup my Google Authenticator codes before doing a factory reset? Simple: you can't. You need to have saved whatever numbers or QR codes you used to set up your keys to begin with. And if you didn't save those? You're SOL and simply have to lose access to all the sites and set up entirely new codes for everything after I wipe my phone.

The apparent solution was to have used "Authy" instead. Maybe. Who knows? In any case, even the factory resetting didn't fix the Stupid Issues, so now it looks like I have to buy a new phone if I want simple things like Bluetooth enabled once again. Thanks, Google!

Tuesday, December 22, 2020

Flash is dead to me

Whoever thought I would need a working copy of Flash in order to look at my tax return? You see, being the idiot I am, I assembled all of my previous tax returns — including this year's — using Adobe Acrobat. And I stupidly saved them as a "PDF portfolio," so I could collect all the documents in one place with a single password.

Well, guess what? Acrobat was apparently completely, entirely dependent on Flash to display these files, and now that Flash is DEAD, all I get is a black screen when I open my document — along with a completely unhelpful note that I need to reinstall Flash, which no longer exists.


So, is there anyway to retrieve all of my tax information? NO. Of course not. It's no longer available. Because of Flash. I can only hope now I have my physical copy still accessible before I have to call my accountant.

You'd think Adobe would have some kind of knowledge or experience in digital document creation or something, but that pales in comparison to their history as an enemy of backward compatibility.

So if you were dumb enough to save anything as a "PDF Portfolio" assuming you'd be able to access it indefinitely, you'd better download the Flash Player now before Adobe takes it away (and your documents) forever.

Download here.

Saturday, May 16, 2020

Making the Rii Wireless Keyboard function keys work on a Raspberry Pi

A while back I bought a Raspberry Pi. I wanted to use it to play videos on our downstairs TV, but I also use it to play Minecraft with the kids and do math lessons with my son using Khan Academy. It's a fun, versatile little device.

Then last Christmas, my wife gave me a Rii wireless keyboard/trackpad to use with the Raspberry Pi. It worked nicely for the most part, but for some reason the function keys wouldn't work. The function keys on this keyboard double as media keys (for volume, etc,), but even when pressing the "fn" button they refuse to act as function keys like they should. This made switching to "full screen" mode in Chrome a little difficult.

Fortunately, there's a way to make them work perfectly, and like most things in the Linux world, it's not at all straightforward or simple. Fortunately, I managed to figure out the steps to accomplish this fix not only once, but twice. I got most of the steps from this article here, but I decided to write them down here for anyone else as well (in my own clumsy way) who might need them.
  1. First, go and download this hid-apple-patch. Put it somewhere easy to find on your Raspberry Pi and unzip it (right clicking and choosing "extract here" works nicely). This is a "patched hid-apple kernel module."
  2. Next, you need to install something called "dkms" (Dynamic Kernel Module Support). Open the terminal app and enter "sudo apt-get update" then "sudo apt-get upgrade" to update everything first. Then do "sudo apt-get install dkms."
  3. Now with dkms installed, navigate your way in the terminal to the folder you unzipped in step 1. Then do the following commands to build and install the patch.
    1. sudo dkms .
    2. sudo dkms add .
    3. sudo dkms build hid-apple/1.0
    4. sudo dkms install hid-apple/1.0
  4. Next, use the nano text editor to open the config file:
    sudo nano /etc/modprobe.d/hid_apple.conf
  5. Add this single line to the empty text file: options hid_apple fnmode=2
  6. Save the text file and reboot
Ta-da! Your Rii wireless keyboard now has function keys that work when you press the "fn" button.


Thursday, April 16, 2020

Under-depreciated

Oh, how I hate programming — and in particular programmers who decide that easy bits of code that anybody can use need to be depreciated (because "security") and replaced with nothing, requiring you to go hacking away in PHP at the core bits of your WordPress installation to achieve something you used to get with one line of code and should be built into a plug-in to begin with.

Take the simple act of having a "success page" after filling out a form. Any decent contact form program written since the dawn of the web would have this as an option — a page you go to after filling out a form that says, "Thank you." Easy enough, right?

Not in Contact Form 7. Oh sure, you used to be able to do this with one line of code:

on_sent_ok: "location = 'http://www.example.com/thank-you-page'";
But then someone decided, "Oh that's too easy, let's mess with people a bit." So now the process is considerably more complicated, namely editing the functions.php file in your WordPress installation to do exactly the same JavaScript thing, just in a way more likely to break things.



  1. add_action( 'wp_footer', 'redirect_cf7' );
  2.  
  3. function redirect_cf7() {
  4. ?>
  5. <script type="text/javascript">
  6. document.addEventListener( 'wpcf7mailsent', function( event ) {
  7.        location = 'https://www.example.com/thank-you/';
  8. }, false );
  9. </script>
  10. }

And again, it does exactly what the "old" method did, so aren't there still security concerns? No, I guess not. Because reasons.

And shouldn't this be built into the plug-in anyway? You know, one field called "success page" that you just fill out with a URL and be done with it? But no, things have to be difficult. And stupid.

https://www.rocketclicks.com/client-education/contact-form-7-thank-page-redirects/