Follow these instructions
When developing stuff, configuring systems, or simply working with computers, I come across obstacles that can be solved easily once you know the solution. But finding the solution can take ages. In this blog, I am collecting the solutions for some of the technical problems that I encounter.
Thursday, December 10, 2015
Thursday, August 13, 2015
Embedding fonts in Windows-generated PDF files
Problem: PDF files generated from Office use TrueType fonts, which are not embedded into the PDF.
Solution: Run this script:
#!/bin/bash
mv $1 $1.bak
gs -dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dCompressFonts=true \
-dSubsetFonts=true \
-dNOPAUSE \
-dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=$1 \
-c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" \
-f $1.bak
pdffonts $1
Solution: Run this script:
#!/bin/bash
mv $1 $1.bak
gs -dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dCompressFonts=true \
-dSubsetFonts=true \
-dNOPAUSE \
-dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=$1 \
-c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" \
-f $1.bak
pdffonts $1
See also:
Tuesday, June 23, 2015
I/O error when booting Linux-on-USB through Virtualbox on Windows 7
This article provides remedy (in particular the setting to remove the read-only attribute).
Wednesday, April 22, 2015
Interesting Linux distributions
- elementary OS - looks very clean and seems to be suitable for weaker PCs (1 GB RAM, 15 GB disk space)
- Kubuntu 15.04 with Plasma 5 desktop - beautiful UI; for more powerful PCs
- Kubuntu 15.04 with Plasma 5 desktop - beautiful UI; for more powerful PCs
Subscribe to:
Posts (Atom)