Get email delivery of the Cadence blog featured here
Well - it's here! Native font support in Allegro Design Entry HDL (DEHDL)!
This has been a often requested feature and is particularly important for our mil-aero customers.
The DEHDL environment has conventionally provided support for vector fonts (6 flavors of basic fonts), where only a single font is supported for displaying all the schematic text objects. However, in real world applications you may require different fontsto depict and distinguish different text objects in a schematic design.Additionally, vector fonts in their current form have some drawbacks:
To address these issues, DEHDL now includes support for different fonts.
Font Categories of Text ObjectsYou can display the following categories of text objects in different fonts:
You can set fonts and font attributes, such as font name, color, size, style, and effects, for one category of each text objects. Only one set of font attributes can be set for a single category of text objects. You cannot specify different font attributes on individual instances of text objects on the schematic.For example: If you specify 'Arial' as the font to display net names, all the net names will be displayed in 'Arial'.Note: When you specify font attributes for a text object, the text object is rendered in the selected font and attributes. However, there is no change in the database.
Setting the Fonts - UI Font PageYou can invoke the Font settings UI from Tools> Options. Select the 'Font' from the left tree section. In the Fonts page of the Design Entry HDL Options dialog box, you can specify font attributes for different types of schematic text objects. To enable support for displaying different fonts, ensure that the Enable Font Support option is selected.
When you construct a new design in SPB16.3 or turn on the font support feature in an existing design, font attributes are set to default values. You can change these values using the dialog box shown above.
Note: The font attribute settings you specify for each category of text object is written in the project .cpm file. These settings are not written to the database. As mentioned earlier, only the Font color and size are stored in the database for a specific instance of a text object.
Setting the Fonts - Project .cpm File DirectivesAs mentioned above, the selected font attributes for a text object are stored in the project .cpm file. You can bypass the FONT dialog box and directly set the font attributes for each category of text objects in the START_FONTS & END_FONTS section of the .cpm file of the project.To enable support for fonts using CPM directives, ensure that the CDS_ENABLE_FONTS directive is set to ON in the .cpm file as shown here:
To set the values for the five font attributes of any category, set the following .cpm directives:
Where,Replace <CATEGORY_NAME> with the specified Object.
Note: The settings for the fonts can be stored in the project .cpm file, therefore, these settings can also be stored in the site level project .cpm file and the common settings can be used by the whole organization. To mandate a universal font setup for the entire organization, the administrator can lock these settings in the site area and force all the users to follow the same standards. The PCB Librarian tools also provide support for fonts and use the same directives to display symbols. Therefore, the symbol editor canvas of PCB Librarian and the DEHDL canvas have the same look and feel.
Working with FontsWhen you set a value for a specific text object, the values of three font attributes - name, style, and effects, are applied across the design to the existing as well as to the newly created objects. The size and color attributes apply only to the newly added text objects. These changes are not reflected on the existing text objects.When you plot a design with the font support feature on, the design is printed with the text objects appearing in the same fonts as they appear on the schematic canvas. Similarly, when you publish a PDF of the schematic design using the Allegro Design Publisher (Publish PDF utility), the published document displays the fonts as they appear on the schematic.Note: If a font support-enabled design is opened on a system where the fonts used in the design are not installed, an error is displayed and the text object is displayed in vector font.
Fonts on Different PlatformsThe font support feature is fully provided on the Windows platform where all the fonts installed on the system are available to DEHDL.Cadence provides the following two fonts with the standard installation of Design Entry HDL:
On UNIX platforms, all fonts installed with MainWin on the system are available to DEHDL.
You can even use custom fonts! Simply copy the font file (typically a .ttf file) to the C:\Windows\Font folder. This will add your custom font automatically on your Windows machine and make it available to all the editors which provide font selection options, including DEHDL.
As always - I'd like to know how you're using this great new feature!
Jerry "GenPart" Grzenia
That's correct, the font changes are applied to new text added in the design. It will not adjust any existing text.
How do I change the font size for existing text (for e.g. NETNAME). The tool says the new font size will be applied only to the newly added text.
Please insure you have Enable Font Support set in the DEHDL Tools> Options Font tab. Also, fonts apply to new items - not existing items in the schematic.
I have the problem that i can't change the size of any font in any way, i want to have a equal value in all the project.
May I ask that you contact our Customer Support team and report this? We can investigate if this is a limitation or a bug.
I can change the font type/color for the Cross Reference text, but not the text size. The tool seems to ignore this setting.
Good catch! I'll be opening a new Service Request in your name and communicate with you via Email.
I encourged one question while i used wire->bus name command.
the color is not match my expected color. How can i synchronize the color the same as net name that I have set Tools> Options. Select the 'Font' from the left tree section.
Please advice it. Thanks
Good to hear from you again. Yes - font support has been a often requested feature for DEHDL and the R&D team did a great job in providing the capabilities you're seeing in the SPB16.3 release. A couple customers have asked for font support on the individual text level (not just for categories). We have an enhancement CCR added for this - not sure when it will be included though. What's nice about the categories and directive locking is that you get the consistent look and feel for all text/properties in all schematics - which is critical for mil-aero custsomers.
We have switched to 16.3 release. I can say that DE HDL now looks better for documentation, view and manage. We immediately select our fonts and we wrote these fonts on the site level cpm so everyone in our company uses the same type fonts.
Actually fonts are only changing in categories. May be if I can change any text to any font that can be more flexible. But OK this works and I like it.
I think DE HDL is improving and we have to wait some newer functions in future releases. Thank you.