Jump to content
You must now use your email address to sign in [click for more info] ×

Nine-digit numbers become phone numbers in a pdf


Recommended Posts

Sounds like a helpful function your PDF viewer is providing.

Have you tried a different viewer?

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

17 minutes ago, walt.farrell said:

your PDF viewer

MacOS Preview. It's clever like that. Not an Affinity thing.

 

1793543333_Screenshot2023-02-10at21_57_09.png.fac0392c481b3821387661eb28e1d10f.png

Edited by h_d
Added screen grab

Affinity Photo 2.0.3,  Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

1 minute ago, BugsJane said:

Are you suggesting Adobe Acrobat Reader for Apple Mac?

I have no idea what alternatives might exist on Mac. Perhaps a Mac user can suggest one that isn't this helpful.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

 

2 minutes ago, BugsJane said:

Are you suggesting Adobe Acrobat Reader for Apple Mac?

I have tried Acrobat Reader for Apple Mac with my test pdf and it doesn't display a phone number popup. 

Affinity Photo 2.0.3,  Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

h_d, I just downloaded Adobe Acrobat and it does work for me, too.

I will suggest that option for those who receive my pdf.

I couldn't find a way to turn off the telephone number pop-up in Preview either.

I have been working all day on this problem that has been puzzling me.

h_d, you have been very helpful.

Link to comment
Share on other sites

Well if Preview.app lacks the "Edit > Substitutions > Data Detection" menu entry in order to uncheck it, then it can't be done this way and one has to try out another way via the MacOS defaults system (checking for some possible Preview.app defaults entry option setting therefor). - See therfor the manpage for the defaults command, aka "man defaults" in Terminal.app.

See also ...

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

1 minute ago, v_kyr said:

one has to try out another way via the MacOS defaults system (checking for some possible Preview.app defaults entry option setting therefor). - See therfor the manpage for the defaults command, aka "man defaults" in Terminal.app.

Life's too short.

Affinity Photo 2.0.3,  Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

2 minutes ago, h_d said:

Life's too short.

Than you have to live with that, until some MacOS update probably offers to disable that in Preview.app too.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

2 minutes ago, v_kyr said:

some MacOS update probably offers to disable that in Preview.app too.

Never gonna happen.

Affinity Photo 2.0.3,  Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

33 minutes ago, BugsJane said:

v_kyr, thanks for your effort.  I tried this, but it didn't give the results I wanted on the numbers.

That won't work because Live Text is doing optical character recognition on an image, not detecting data in your PDF. Sadly, there's no way to turn these things off.

This isn't an Affinity issue and I think even if you've done several pages you should consider going back and removing the IDs and linking the names to create a more useful document. But if you don't want to do that, just preface all the Find a Grave IDs with https://www.findagrave.com/memorial/. Then Preview will detect them as clickable URLs rather than as phone numbers. You don't even need to hyperlink them in Affinity. This is what it would look like if you prefaced the IDs with the first part of the URL:

image.thumb.png.22d713005e63c709daea16a80e332009.png

If you really want the IDs before the names and you don't want to include the full URLs, you can cheat. Set the first part of the URL to have no fill and leave just the number as black. This will trick Preview and it won't be detected as a phone number or URL. I tried it and it worked fine. At least unless Apple changes its data detectors again.

Cheers

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

Then one has to hunt via Apple's defaults program after possible settings therefor.

A call in Terminal.app of ...

Quote
> defaults read com.apple.Preview
... or ...
> defaults read com.apple.Preview > output.txt

... will list or output all default Preview.app settings in the terminal, the second call shown above will output and write those into an output.txt file. - Now inspecting that output.txt file will show if there is possibly some setting related to data detectors etc. here. - If there is some bool setting for those like "True/Yes" or the like, it can also be instead disabled then by setting it to (False/no") via a corresponding defaults write ... call for that option then.

However the whole depends on, if Preview.app does propagates any such own setting (option/flag) at all here then, which can only be find out by an above mentioned inspection of it's common settings! - Since I run a very old MacOS version (El Capitan) and thus a pretty old version of Preview.app v.8.1 (877.7) , it won't show anything more modern implemented here for me, which might have been added in much more modern versions of Preview.app.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

This is the output.txt you get with macOS 13.2 (22D49) :

{
    "IKC_sort_ascending" = 0;
    "IKC_sort_key" = creationDate;
    "IK_Camera_selectedTag" = 1000;
    "IK_CreateSingleDocument" = 0;
    "IK_DetectSeparateItemsScanMode" = 1;
    "IK_DocFeederEvenPageOrientation" = 1;
    "IK_DocFeederOddPageOrientation" = 1;
    "IK_DocumentKind_-1" = 2;
    "IK_DocumentKind_0" = 2;
    "IK_FileFormatTag" = 0;
    "IK_FlatbedOrientation" = 1;
    "IK_MeasurementUnit" = 1;
    "IK_ScanBitDepth" = 8;
    "IK_ScanResolution" = 300;
    "IK_ScannerDocumentType" = 1;
    "IK_Scanner_downloadURL" = "/var/folders/7r/4yr4_t7n7kd0rnf72_x3z8mm0000gn/T/com.apple.Preview/PreviewTemp-aVyGwX/ScanResultsTemp_94EEC151-6DB4-4533-B8EF-6C8710CC4BCC";
    "IK_Scanner_selectedTag" = 1000;
    "IK_UseCustomScanSize" = 1;
    "IK_documentName" = "Image num\\U00e9ris\\U00e9e";
    "IK_prefsVersion" = "10.112";
    "IK_scannerDisplayMode" = 1;
    "IK_selectedFunctionalUnitType" = 0;
    NSDocumentSuppressTempVersionStoreWarning = 0;
    NSNavLastRootDirectory = "~/Desktop";
    NSNavLastUserSetHideExtensionButtonState = 0;
    NSNavPanelExpandedSizeForOpenMode = "{799, 448}";
    NSNavPanelExpandedSizeForSaveMode = "{897, 936}";
    NSNavPanelExpandedStateForSaveMode = 1;
    "NSSplitView Subview Frames NSColorPanelSplitView" =     (
        "0.000000, 0.000000, 224.000000, 258.000000, NO, NO",
        "0.000000, 259.000000, 224.000000, 48.000000, NO, NO"
    );
    "NSSplitView Subview Frames PVInspectorImageMetaDataGPSSplitViewPosition" =     (
        "0.000000, 0.000000, 604.000000, 361.000000, NO, NO",
        "0.000000, 362.000000, 604.000000, 361.000000, NO, NO"
    );
    "NSTableView Columns v2 cameraAutoSave" = {length = 1340, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000038c };
    "NSTableView Sort Ordering v2 cameraAutoSave" = {length = 391, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000115 };
    "NSTableView Supports v2 cameraAutoSave" = 1;
    "NSToolbar Configuration CommonToolbar_v5.1" =     {
        "TB Display Mode" = 2;
        "TB Icon Size Mode" = 1;
        "TB Is Shown" = 1;
        "TB Size Mode" = 1;
    };
    "NSToolbar Configuration com.apple.NSColorPanel" =     {
        "TB Is Shown" = 1;
    };
    "NSWindow Frame NSColorPanel" = "0 110 224 278 0 0 2560 1415 ";
    "NSWindow Frame NSNavPanelAutosaveName" = "520 220 897 780 0 0 2560 1415 ";
    "NSWindow Frame NSSpellCheckerSubstitutionsPanel2" = "691 407 548 137 0 0 2560 1415 ";
    "NSWindow Frame PVImageCorrection" = "628 476 321 540 0 0 2560 1417 ";
    "NSWindow Frame PVInspectorPanel" = "1052 502 370 359 0 0 2560 1415 ";
    "NSWindow Frame PVPreferences" = "1037 795 475 88 0 0 2560 1417 ";
    PMPrintingExpandedStateForPrint2 = 1;
    "PVAnnotationInteriorColor_0" = {length = 55, bytes = 0x040b7374 7265616d 74797065 6481e803 ... 03840266 66000086 };
    PVContactSheetThumbnailSize = 120;
    PVGeneralSelectedPane = 0;
    PVImageSizeResolutionUnit = 10;
    PVImageSizeSizeUnit = 5;
    "PVInspectorPanelForDoctype_ImageDocument" = PVInspectorImageFileInfo;
    "PVInspectorPanelForDoctype_NoDocument" = PVInspectorNoDocument;
    "PVInspectorPanelForDoctype_PDFDocument" = PVInspectorPDFFileInfo;
    PVInspectorTabForMetaData = "{General}";
    PVInspectorWindowOpenOnStart = 0;
    PVPDFLastSidebarWidth = 200;
    PVPDFSearchResultsOrder2 = 1;
    PVScannerDeviceViewLastViewMode = 1;
    PVSidebarViewModeForNewDocuments = 1;
    PVUseExactPhraseSearch = 1;
    "com.apple.AnnotationKit.arrowHeadStyle" = 2;
    "com.apple.AnnotationKit.brushStyle" = 0;
    "com.apple.AnnotationKit.fillColor" = {length = 242, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 000000b8 };
    "com.apple.AnnotationKit.font" = {length = 501, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000017f };
    "com.apple.AnnotationKit.hasShadow" = 0;
    "com.apple.AnnotationKit.highlightStyle" = 765200;
    "com.apple.AnnotationKit.strokeColor" = {length = 254, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 000000c2 };
    "com.apple.AnnotationKit.strokeIsDashed" = 0;
    "com.apple.AnnotationKit.strokeWidth" = 4;
    "com.apple.AnnotationKit.textAttributes" = {length = 292, bytes = 0x7b5c7274 66315c61 6e73695c 616e7369 ... 205c6366 3220617d };
    "com.apple.AnnotationKit.userDefaultsVersion" = 1;
    "com.apple.imagekit.cameraviewmode" = 0;
    "com.apple.imagekit.lastresolution" = 72;
    "com.apple.imagekit.lastselectedfiletype" = "public.jpeg";
    kPVInspectorPDFMetricsUnit = 4;
    selectedDPI = 300;
    selectedUnit = 0;
}

 

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

1 hour ago, laurent32 said:

This is the output.txt you get with macOS 13.2 (22D49)

AFAI can see, it doesn't look like Preview.app has some own toggable prefs settings therefor, as some other by MacOS included standard apps have.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Something clicked as I was reading all of your posts.

I solved the problem!  I typed an alphabet letter to the left of the number and then changed the black letter to white. It disguised the number! Yay!

In fact, I can put a single column of white letters to the left of the numbers all the way down the page and it takes away the "phone number identity" of those numbers.

Thanks to all of you for your persistence and attention to this problem.

Problem Solved!.jpg

Link to comment
Share on other sites

21 minutes ago, BugsJane said:

I solved the problem!  I typed an alphabet letter to the left of the number and then changed the black letter to white. It disguised the number! Yay!

In fact, I can put a single column of white letters to the left of the numbers all the way down the page and it takes away the "phone number identity" of those numbers.

But you started out saying the problem is with users copying the numbers. Won't having that letter there cause issues, too. For example, accidentally copying it?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Thanks for the question, Walt.

It is now easier to copy the number without the pop-up telephone number interfering. 

The other good news is that even if the white letter in front of the black numbers is copied, the website, findagrave, recognizes only the black numbers. 

That works even with shorter numbers of which some had the same problem.

It now works to find the memorial of the deceased person. Hurray!

For now this seems to be the best solution short of placing hyperlinks.

I will keep exploring alternatives.

Later edit: I broke down and started using hyperlinks. I just discovered that color-coding for generations can be used with them. Well, I keep learning and enjoy the fun of problem solving and discovering what I didn't know. This program is more powerful than the previous one I was using.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.