Skip to main content
Bedazzled532
Inspiring
November 12, 2024
Answered

Max font size inside a circle

  • November 12, 2024
  • 2 replies
  • 1575 views

Hi,

I have a circle of 8mm and I would like to write a number inside it from 1 digit to 3 digits.

Single digit will be in different font size, double digit in a different size and 3 digits in a different size.

 

The issue I am facing here is that I can see lot of space inside the circle but the moment I increase the font size, there is a an overset text. I have also changed the baseline to fixed.

 

Screenshot and idml attached. What can be done to increase the font size without overset text.

 

I am planning to use Numbering list option to populate the numbers inside the circle.

 

Thanks

This topic has been closed for replies.
Correct answer Abhishek Rao

@Abhishek Rao Thanks. I am uploading a small video of few seconds. I need numbers in bigger size. The circle is big enough bigger font size but unfortunately it oversets.


Hi @Bedazzled532,

 

The issue you're describing often involves a combination of adjusting 'tracking' and 'leading' to make the text fit optimally. Here’s what you can try:

1. Select your text and increase/decrease the tracking (found under 'Character panel' or using 'Alt + Left/Right Arrow' on Windows). This will help space the digits more compactly without reducing the font size.

2. Ensure the leading is not causing overset text. Go to the 'Character panel' and set it to a value that keeps the text within the bounds without clipping.

3. Use a slight baseline shift to position the text perfectly in the center of the circle.

4. Since fitting different digit counts is unique, manually adjust font sizes as needed and save these as character styles for easy application.

 

Feel free to experiment with these settings and let us know how it goes!

 

Best,  
Abhishek Rao

2 replies

Dave Creamer of IDEAS
Community Expert
Community Expert
November 12, 2024

If you want it truly automatic,  you can't using auto numbering.

I created a series of linked frames using the up/right arrow when creating the frame. These will be auto linked. I "eyeballed" them to be square. 

I converted the text frames to elipses and added a stroke.

I created a long number list in Excel and exported as CSV.

I imported the CSV file into the first frame. (I had to show all files to import.)

I created three character styles: one digit, two digits, and three digits.

I used your paragraph style to create a GREP style (see below).

I then adjusted the character style's type size and baseline shift.

Files attached. 

 

To add more numbers, copy and paste the circles from one page.

Select all the text in the new batch of cirles and delete.

Go to the last consecutive number and link the out port to the first blank in port.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Bedazzled532
Inspiring
November 12, 2024

@Dave Creamer of IDEAS Thanks a lot Dave. I will try to fit your method to my requirement. I liked the idea now its the matter of whether it will fit in my design or not. Thanks once again.

Srishti Bali
Legend
November 12, 2024

Hi @Bedazzled532 , 

 

Thank you for sharing the file. I reviewed it, and it appears that the font used is Times New Roman. Is that the font you're using?

 

Regards,

Srishti

Bedazzled532
Inspiring
November 12, 2024

@Srishti Bali Thanks for replying. Yes currently I am using Times but eventually I will change the font to Jameel Noori Nastaliq or some other Arabic or Urdu font.

Thanks

Abhishek Rao
Community Manager
Community Manager
November 12, 2024

Hi @Bedazzled532,

 

Thanks for providing detailed information and your files. To increase the font size without encountering overset text, we would suggest confirming few things:

1. Ensure that the text frame inset values are set to 0. This will maximize the usable space inside the circle. Right-click the text frame > Select 'Text Frame Options' > Set the 'Inset Spacing' to 0.

2. Go to 'Object' > 'Text Frame Options' and set the 'Vertical Justification' to 'Center'. This ensures that the text stays centered within the circle.

3. To maintain different font sizes for single, double, and triple-digit numbers, consider manually adjusting the font size for each case to find the largest size that fits without causing overset text.

4. Since you've already set the baseline to fixed, ensure the numbers are visually centered within the circle by tweaking the baseline shift as needed.

5. You can create separate paragraph styles for each number format (1-digit, 2-digit, 3-digit) with pre-set font sizes, baseline shifts, and alignments to quickly apply consistent formatting.

 

If you still encounter issues, please let us know with a video demonstration or more details, and we can guide you further. Additionally, test with your intended font (Jameel Noori Nastaliq or others) to ensure it behaves as expected in the text frame.

 

Best,

Abhishek Rao