Score:3

How to stop LibreOffice Draw from converting barcodes to numbers when opening a PDF file?

sd flag

I am using LibreOffice Draw to edit a PDF document which has a barcode printed in it. Draw decodes the barcode and replaces it with numbers as soon as I open the document. The decoded text is of 3of9Barcode font type.

I need the barcodes left in place. To do that I tried disabling/removing the font type using font-manager but it wasn't listed there. Also can't find any option to disable barcode reader. Need help.

Mark Ransom avatar
ky flag
Your mistake was in thinking the barcodes were being converted to text. It was actually the other way around, text converts to barcodes if you have the proper font. P.S. 3 of 9 is not the best choice for a barcode technology, unless you're stuck with it for some reason.
Score:4
ca flag

According to mikekaganski's answer to the similar question how do i keep barcodes on my document in libreoffice draw? in ask.libreoffice.org:

[...] the barcodes are in fact texts using some specific “barcode” font absent on your system.

You mention that the font you get for the barcodes is 3of9Barcode, so try downloading the font and see if this works for you. Do the following:

  1. Download the 3of9Barcode font from here: https://www.dafont.com/3of9-barcode.font

  2. Extract the downloaded zip file.

  3. Copy the 3OF9_NEW.TTF file from the extracted directory to ~/.fonts (create the directory if it's not already present).

  4. Try opening your PDF again.

I suppose that the above should work. I cannot be sure since you haven't provided a sample PDF to test.

Gulshan Mishra avatar
sd flag
This was really important for me. Can't thank you enough for this!
BeastOfCaerbannog avatar
ca flag
You're welcome!! I'm really happy I could help!! :D
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.