Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6253123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:55:57+00:00 2026-05-24T13:55:57+00:00

As you see, there are several IDs around the circle, I don’t know exactly

  • 0

As you see, there are several IDs around the circle, I don’t know exactly about their coordination (is difficult!). So, was wondering if anyone has an idea, to attach hyperlink for each ID, meaning that by clicking on ID, user diverted on the corresponding webpage.

I put the code HERE

This circle, is generated by a postscript script!!
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:55:58+00:00Added an answer on May 24, 2026 at 1:55 pm

    The text is drawn using constructions like this:

    247 ux 160.65 uy moveto
    (GH6)   show stroke 
    

    You need to add a pdfmark operation, the exact pdfmark you want to use depends on what you are trying to open, and where. If you want to open another PDF file you can use a Link Annotation with a GoToR action, if you want to open a web page you can use a Launch action or possibly a custom action, depending on what application is viewing the PDF file. I’m going to assume you want a Launch action.

    The Launch pdfmark should look something like :

    [/Rect [50 425 295 445]
    /Action /Launch
    /Border [0 0 2]
    /Color [.7 0 0]
    /URI (http://www.adobe.com)
    /Subtype /Link
    /ANN pdfmark
    

    Obviously you need to calculate the Rect parameters so that clicking in the area of the text will launch the destination.

    The way to do this is to use the PostScript path operators. First we need to save the current setup, then convert the text to a path, then calculate the bounding box of the path. Then we can use those co-ordinates for our Rect parameters.

    Eg:

    247 ux 160.65 uy moveto
    (GH6) 
      dup          % copy the string 
      gsave        % save the current environament
      exch         % bring the string copy to the top of the stack
      [ /Rect      % Put a mark and name on stack
      3 -1 roll    % Bring string copy to top
      true 
      charpath     % create a path equivalent to drawing the text
      flattenpath  % flatten curves
      pathbbox     % get the bounding box
                   % we now have our box on the stack
                   % stack is: (GH6)  [ /Rect llx lly urx ury
                   % So put the other parameters in place
      /Action /Launch
      /Border [0 0 2]
      /Color [.7 0 0]
      /URI (www.dummy.com)
      /Subtype /Link
      /Ann
      pdfmark      % and execute the pdfmark
      grestore     % put the graphics state back
      show stroke 
    

    Some of the text is shown via a slightly different idiom:

    241 ux 84.65 uy moveto
    (45.0)   dup stringwidth pop 2 div neg 0 rmoveto show 
    

    you can do exactly the same as above, just put the dup…grestore construction after the rmoveto and before the show.

    Caveat: I haven’t tested this at all, but it should show you how to proceed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see that there are several ways to distort an image. like...Circle, Diffuse, Marble,
I see there are several posts regarding Cannot set Property and I'm still struggling
I know, there are several posts with nearly the same question, but all the
I've looked all around Google and its archives. There are several good articles, but
My Website As you can see on the above link there are several 'kids',
I see that there are several options for stripping debug symbols -Deployment Postprocessing -Strip
When querying facebook graph's api I see that there are several properties missing, for
I see there are techniques available to have deep models in Backbone, but how
I see there is a question here but there is no definite answer. Has
I see there is version 1.5 and 3.0 beta , but I can't seem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.