ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Change Font in PDF-fields
@ 2010-02-19  9:40 Andreas Harder
  2010-02-19 13:20 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Harder @ 2010-02-19  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

if I use the following setup

\setupfield
  [ShortLine]
  [label,frame,horizontal]
  [height=fit,framecolor=green]
  []
  [height=18pt,type=normal] % <- is mono

\definefield [Email] [line] [ShortLine] [] [pragma@wxs.nl]

\starttext
\startTEXpage[offset=1ex]
  \field [Email] [E-Mail:]
\stopTEXpage
\stoptext

the type-setting don't seem to have any affect, it's always mono.

Is it possible to use a system font for typing in a field?

Thanks in advance
	Andreas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change Font in PDF-fields
  2010-02-19  9:40 Change Font in PDF-fields Andreas Harder
@ 2010-02-19 13:20 ` Hans Hagen
  2010-02-20 10:31   ` Andreas Harder
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2010-02-19 13:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Andreas Harder

On 19-2-2010 10:40, Andreas Harder wrote:
> \setupfield
>    [ShortLine]
>    [label,frame,horizontal]
>    [height=fit,framecolor=green]
>    []
>    [height=18pt,type=normal] %<- is mono
>
> \definefield [Email] [line] [ShortLine] [] [pragma@wxs.nl]
>
> \starttext
> \startTEXpage[offset=1ex]
>    \field [Email] [E-Mail:]
> \stopTEXpage
> \stoptext


will be fixed in next beta

keep in mind that it's:

style=ssbf

etc, so [ss|rm|tt][tf|bf|it|bi]



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change Font in PDF-fields
  2010-02-19 13:20 ` Hans Hagen
@ 2010-02-20 10:31   ` Andreas Harder
  2010-02-20 12:35     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Harder @ 2010-02-20 10:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 656 bytes --]


Am 19.02.2010 um 14:20 schrieb Hans Hagen:

> On 19-2-2010 10:40, Andreas Harder wrote:
>> \setupfield
>>   [ShortLine]
>>   [label,frame,horizontal]
>>   [height=fit,framecolor=green]
>>   []
>>   [height=18pt,style=rmtf] % <- still mono
>> 
>> \definefield [Email] [line] [ShortLine] [] [pragma@wxs.nl]
>> 
>> \starttext
>> \startTEXpage[offset=1ex]
>>   \field [Email] [E-Mail:]
>> \stopTEXpage
>> \stoptext
> 
> 
> will be fixed in next beta
> 
> keep in mind that it's:
> 
> style=ssbf
> 
> etc, so [ss|rm|tt][tf|bf|it|bi]

Hello Hans,

while style=sstf works, the rmtf-switch still shows up mono.

How can I change the font size?

Greetings
	Andreas

[-- Attachment #1.2: Type: text/html, Size: 1762 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change Font in PDF-fields
  2010-02-20 10:31   ` Andreas Harder
@ 2010-02-20 12:35     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2010-02-20 12:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Andreas Harder

On 20-2-2010 11:31, Andreas Harder wrote:

> while style=sstf works, the rmtf-switch still shows up mono.
>
> How can I change the font size?

{\switchtobodyfont[20pt]...} should do the trick


i'll fix it (it's sort of tricky to get all this right for all recent 
pdf versions)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-20 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-19  9:40 Change Font in PDF-fields Andreas Harder
2010-02-19 13:20 ` Hans Hagen
2010-02-20 10:31   ` Andreas Harder
2010-02-20 12:35     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).