Skip to main content
Inspiring
February 22, 2016
Released

P: OpenType Number Features: Proportional, Tabular, Lining, and Oldstyle

  • February 22, 2016
  • 32 replies
  • 2862 views

A feature that has been sorely missing from Photoshop since the implementation of its OpenType capabilities is the ability to specify which number features to use. This feature is fully implemented in InDesign and Illustrator so it's puzzling that it would be missing from Photoshop.

32 replies

Participant
December 11, 2019
https://www.creativebloq.com/photoshop/scripts-4132441
Step 1 as described in the link above. (Make your own script / Step 01): Open a texteditor.

Step 2: paste the complete code above. Please include also the line „setStyle();“. Otherwise the function is only defined and not called.

Step3: Save the document as typeSetStyle.jsx e.g. to your dashboard.

Step 3: as described in the blogpost:
In Photoshop, open a document you’re working on. Select File > Scripts > Browse and locate your script [--> typeSetStyle.jsx ].

-----

If you want to set the typesettings to Tabular use this code

//Tabular
var idStyle = stringIDToTypeID( "tabularLining" );
//Normal
//var idStyle = stringIDToTypeID( "Nrml" );
//proportionalOldStyle 
//var idStyle = stringIDToTypeID( "proportionalOldStyle" );
-----

If you want to set the typesettings to Normal use this code

//Tabular
//var idStyle = stringIDToTypeID( "tabularLining" );
//Normal
var idStyle = stringIDToTypeID( "Nrml" );
//proportionalOldStyle 
//var idStyle = stringIDToTypeID( "proportionalOldStyle" );
-----

If you want to set the typesettings to OldStyle use this code

//Tabular
//var idStyle = stringIDToTypeID( "tabularLining" );
//Normal
//var idStyle = stringIDToTypeID( "Nrml" );
//proportionalOldStyle  var idStyle = stringIDToTypeID( "proportionalOldStyle" );




Inspiring
December 10, 2019
For those who might not have seen the new Figure option select field, I took a couple screenshots to briefly illustrate. The first shot shows the menu of options, and the second shows the button you have to tap/click to reveal the extra options in the Properties panel. In both shots, the Character panel is open, highlighting that the options are not available there.



Inspiring
December 10, 2019
There is this really not cool way new feature but at least it works...
  • Type the numbers you want;
  • Select only one character with the mouse cursor;
  • A small dialog should appear;
  • Now you can select  the types available.
  • This feature also works with ligatures and other alternatives available on the typeface.
Hope it helps..
Inspiring
December 10, 2019
Having just built a new machine, I don't have many fonts installed yet, but I can say from a quick perusal of my list that Playfair Display uses Oldstyle by default, and according to Google's stats, Playfair Display sees massive usage.

Georgia, which comes with practically everything, also uses Oldstyle figures by default. As well as several other default fonts: Constantia, Candara, Corbel, Gabriola, Sitka.
Inspiring
December 10, 2019
I'd love to see it in its proper place (the Character type panel) as well.
It looks good—consistent with what we find in Illustrator.
David Mohr
Community Manager
Community Manager
December 10, 2019
Please take a look at what's in the latest release, accessible for the Properties panel, and share with us what you think.

Thanks!
David
David Mohr
Community Manager
Community Manager
December 10, 2019
Howdy Jayr or anyone,

Are there other fonts that have the same characteristic as Fedra, defaulting to Oldstyle?  I'm trying to guage how widespread this issue is.

Thanks,
David
Inspiring
December 7, 2019
Hey, I have never run a script and I've been searching for more than a day already on how to make this thing work without being able to. Any ideas? What do I have to do?
Inspiring
March 20, 2019
Ditto.
We use a corporate standard OpenType font called Fedra which defaults to Oldstyle.
I see that PS 20.0.4 release has an OpenType submenu to toggle the OldStyle feature. This only works if the font defaults to tabular lining. 
We need the function to allow us to set tabular vs oldstyle, not turn oldstyle on and off. 
(When i select a block of text using Fedra Sans Alt Pro, Oldstyle is not checked, so selecting that menu item doesn't do anything)
Thanks!
 Jay
Inspiring
November 16, 2018
Please add this feature/