Find fonts used in a PDF file for Mac OS

If you’ve ever needed a quick way to find fonts used in a PDF file on your Mac, you may have seen suggestions to download specific apps like Adobe reader to accomplish this.

While that will work, you can accomplish this with a simple command via the Terminal. To find the fonts used in your PDF, follow the steps below.

Instructions

  • Open up Terminal.app of your command line tool of choice.
  • Note where on your system the PDF is located. If you have it on your Desktop the command below will work easily.
  • Using the code below – edit the path to the file and the filename and hit enter.

That’s it. Using the above techniques will allow you to see all the fonts used in a PDF on a Mac or UNIX system without downloading any 3rd party applications.

Two Way Binding in Vue.js

Two-way binding is arguably one of the most powerful features of Vue.js. It enables developers to easily and elegantly manage state and DOM updates with very little code.

Vue.JS Image

Christopher Agnus has put together a great & quick overview of two-way binding in Vue.JS and what’s going on underneath the hood. Check it out below.

Vue.JS CheatSheet

Christopher Agnus put together a very short and succinct overview of the most common Vue.js concepts. Complete with example code. Great for a beginner to Vue.js or for re-jogging your memory.

Vue.js CheatSheet

By Christopher Agnus

Looking for more Vue.js Resources?

Check out my full list of Vue.js resources.

Introducing Automated WordPress Plugin Boilerplate

I’ve created a forked version of the popular WordPress Plugin Boilerplate. This new version uses a python script/GUI that completely automates the renaming of every file, every function, and every class name. No more missing a file name or function to match your new plugin name.

Check out the README and follow the instructions on the repo to get started. Questions, comments, feature requests are all welcomed.

Raspberry Pi Audio Not Working With HDMI TV?

If you’re using an HDMI TV to display your Raspberry Pi or Raspberry Pi 2, you may have trouble with the audio playing through the TV.

This happens when the monitor is configured to send it’s audio through DMT mode instead of HDMI.

To force your Raspberry Pi audio through the HDMI TV audio, try running the following command(s).

Hit control + o to save the file and then control + x to exit.

Reboot your Raspberry Pi and try again to see if your audio now works via HDMI.

Further sources:

Raspberry Pi Forum Thread

Raspberry Pi Docs on the config.txt file