MarioM Posted May 3, 2022 Share Posted May 3, 2022 My document contains many instances of periods without spaces after them. I'm trying to search for these to correct them, but I am having no luck. Publisher does not seem to be able to find a period. When I type a . into the search box, Publisher returns every single character in the entire document. How do I get it to find a period? Addendum to this question: I believe I figured out how to search for a period. I needed to select "normal" in the settings menu. Now I have a new problem. Many of my periods have abnormally short spaces after them, much shorter than the spaces between words in the same lines. How do I fix this? Quote Link to comment Share on other sites More sharing options...
Pšenda Posted May 3, 2022 Share Posted May 3, 2022 (edited) 14 hours ago, MarioM said: Many of my periods have abnormally short spaces after them, much shorter than the spaces between words in the same lines. How do I fix this? Screenshot? (with menu Text/Show Special Characters) Replace? Example file? Edited May 3, 2022 by Pšenda Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
carl123 Posted May 3, 2022 Share Posted May 3, 2022 6 hours ago, MarioM said: Now I have a new problem. Many of my periods have abnormally short spaces after them, much shorter than the spaces between words in the same lines. How do I fix this? Depends on how those short spaces were created e.g. Are they smaller as they use a different font size? A sample piece of some affected text showing the problem and uploaded to the forum may help eliminate a lot of guesses Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
walt.farrell Posted May 3, 2022 Share Posted May 3, 2022 Yes, it would help to have a short sample .afpub document that we can examine. By the way, rather than doing a "normal" search, you could stay with a "regular expression" search but use \. as the search string. Quote -- 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 More sharing options...
thomaso Posted May 3, 2022 Share Posted May 3, 2022 34 minutes ago, walt.farrell said: stay with a "regular expression" search but use \. as the search string. Couldn't you add the mentioned but unknown spaces to the GREP search? Unfortunately I didn't find the correct syntax for Affinity ( \S doesn't work). Here I simply copied the various spaces behind \. , they don't show up in the Find field but seem to be found: I tried to replace them with \.\s but it resulted in .s not in . (period + space) as I expected with my slim skills. 😬 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
walt.farrell Posted May 3, 2022 Share Posted May 3, 2022 3 minutes ago, thomaso said: Couldn't you add the mentioned but unknown spaces to the GREP search? Until we have a sample document we don't know what is there. Maybe there are only justification artifacts, for example, and not spaces of different sizes. So I chose not to suggest something like that. Quote -- 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 More sharing options...
MarioM Posted May 3, 2022 Author Share Posted May 3, 2022 Here is a sample page of my document showing instances where the space after a period is much smaller than the spaces between words in the same line. Note "world. A" in the first line, and "end. Westerns" in the 4th line. Thanks for looking at this. sample page MarioM.afpub Quote Link to comment Share on other sites More sharing options...
thomaso Posted May 3, 2022 Share Posted May 3, 2022 30 minutes ago, MarioM said: Here is a sample page of my document showing instances where the space after a period is much smaller than the spaces between words in the same line. There is nothing to replace or retype but simply to restyle: The various spots have the kerning reduced before & after the space following a period. Since its before captials A and W I guess it initially was done because of a specific font. Thus just reformatting does fix it, for instance you can create a style + apply it to all frames / all text. Just a note: this .afpup is set to 16 bit, not sure if in purpose. 9 hours ago, walt.farrell said: So I chose not to suggest something like that. You were right! ... which on the other hand is a pity because I hoped you would post the syntax for non-whitespaces and how to replace them. I just became curious when I couldn't find it myself. Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
walt.farrell Posted May 3, 2022 Share Posted May 3, 2022 26 minutes ago, MarioM said: Here is a sample page of my document showing instances where the space after a period is much smaller than the spaces between words in the same line. Note "world. A" in the first line, and "end. Westerns" in the 4th line. Thanks for the document. Those are normal spaces. You can see that in either of two simple ways: Enable Text > Show Special Characters from the Menu. or Put the cursor immediately after the space, and type Alt+U (or use Text > Toggle Unicode) Possibly you're being confused by the kerning and the wide/sloped letter shapes. (Edit: Oops; forgot to check the Kerning settings. Thanks, @thomaso.) Quote -- 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 More sharing options...
walt.farrell Posted May 3, 2022 Share Posted May 3, 2022 2 minutes ago, thomaso said: which on the other hand is a pity because I hoped you would post the syntax for non-whitespaces and how to replace them. I was going to check on that, but forgot. Thanks for the nudge Quote -- 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 More sharing options...
kenmcd Posted May 3, 2022 Share Posted May 3, 2022 Those odd kerning settings are in the font. For example this is what is causing the issues with the space+A spacing: <pair l="space" r="A" v="-205"/> space+T = -256 space+W = -256 etc. The () around the kerning number shows it is a default from the font. If you manually change it, the parenthesis go away. Change the font and those spacing/kerning issues go away. thomaso and walt.farrell 2 Quote Link to comment Share on other sites More sharing options...
MarioM Posted May 3, 2022 Author Share Posted May 3, 2022 Thanks everyone for your help. I appreciate you all giving your time and thought on this. I learned a few things about kerning and fonts. I have decided to take LibreTraining's advice and just change the font. Mario kenmcd 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted May 3, 2022 Share Posted May 3, 2022 2 hours ago, thomaso said: which on the other hand is a pity because I hoped you would post the syntax for non-whitespaces and how to replace them. I just became curious when I couldn't find it myself. In my testing, \s finds whitespace (any of the space characters except zero-width for example), and \S finds non-whitespace, just as I would expect. thomaso 1 Quote -- 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 More sharing options...
Recommended Posts
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.