1
$\begingroup$

I'm trying to solve the problem of transferring data from a pdf file to another file type. When extracting data from PDF files I am to use the exact coordinates (where each unit is 1/72 of an inch in a pdf file) to the same position in another file type. Say a text file or a word document etc?

I'm having trouble making the connection between this coordinate system and the file type I'm transferring data to.

Is there a way to make a quasi coordinate system in a text file or word document or a rich text file? What about an output console. I thought there might be some conventions used which govern how many pixels a space is in these documents? For example if I have a space between characters in my pdf which has a difference of 8 x 1/72 of an inch it may just be kerning as opposed to a word space. I'm not sure how to tell the difference and use that in my destination file.

$\endgroup$

closed as off-topic by Raphael Aug 18 '15 at 13:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ This doesn't seem to have anything to do with computer science. $\endgroup$ – Raphael Aug 18 '15 at 13:26
  • $\begingroup$ Same point. This information is important for extracting and replacing text from files in programming. It's the only place you can ask this kind of question. $\endgroup$ – Svetsi Aug 18 '15 at 13:30
  • $\begingroup$ Even if that were true, it would not make the question ontopic here. Note how programming != computer science. Programming questions have a home over at Stack Overflow. $\endgroup$ – Raphael Aug 18 '15 at 15:12

Browse other questions tagged or ask your own question.