| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| X-Mailer: | exmh version 2.8.0 04/21/2012 with nmh-1.7+dev |
| X-Exmh-Isig-CompType: | comp |
| X-Exmh-Isig-Folder: | inbox |
| From: | "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| To: | geda-user AT delorie DOT com |
| Subject: | [geda-user] Not postscript printout in o_attrib_print() |
| Mime-Version: | 1.0 |
| Message-Id: | <20210926181117.0F9998587FD8@turkos.aspodata.se> |
| Date: | Sun, 26 Sep 2021 20:11:17 +0200 (CEST) |
| X-Virus-Scanned: | ClamAV using ClamSMTP |
| Reply-To: | geda-user AT delorie DOT com |
In lepton-eda/liblepton/src/o_attrib.c
this function does not produce any postscript code.
It just prints things to stdout.
/*! \brief Print all attributes to a Postscript document.
*
* \param [in] attributes List of attributes to print.
*/
void o_attrib_print(GList *attributes)
{
LeptonObject *a_current;
GList *a_iter;
a_iter = attributes;
while (a_iter != NULL) {
a_current = (LeptonObject*) a_iter->data;
printf("Attribute points to: %1$s\n", a_current->name);
if (a_current->text) {
printf("\tText is: %1$s\n", lepton_text_object_get_string (a_current));
}
a_iter = g_list_next (a_iter);
}
}
Regards,
/Karl Hammar
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |