postscript hints - adobe inc....bc if the difference between a font’s zones and its family’s...

52
bc PostScript Hints Miguel Sousa

Upload: others

Post on 23-Apr-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

PostScript HintsMiguel Sousa

Page 2: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 3: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 4: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 5: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

ox

Page 6: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

oxOHßb

Page 7: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

oxOHßbBlueValues

Page 8: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

gp²³कल

Page 9: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

gp²³कलOtherBlues

Page 10: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

oxOH

Page 11: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

ox

Page 12: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueValuesTop alignment zones (+ baseline zone)

OtherBluesBottom alignment zones

Page 13: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Alignment zone rules• Zones cannot overlap• Minimum distance between zones is 1 unit• Up to 6 top zones (+ baseline zone)• Up to 5 bottom zones

Page 14: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

og og

Page 15: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

og ogFamilyBlues

FamilyOtherBlues

Page 16: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the font's own alignments.Adobe Type 1 Font Format, page 38

Page 17: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueValuesTop alignment zones

OtherBluesBottom alignment zones

FamilyBluesTop alignment family zones

FamilyOtherBluesBottom alignment family zones

Page 18: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueFuzzBlueScaleBlueShift

Page 19: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueFuzz

25 units

Page 20: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueFuzz =1

27 units

Page 21: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Recommended value: zeroBlueFuzz

Page 22: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueScale

25 units

Page 23: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueScale

25 units

1000 UPM & 72 ppi

‣ 1 pixel @ 40pt

Page 24: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueScale25 units ‣ 1 pixel

1000 UPM & 72 ppi

40 pt

25 units ‣ ½ pixel

20 pt

Page 25: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Q: What happens to the overshoot for the sizes between 20 and 40pt?

A: It will be displayed, or not, dependingon the BlueScale value.

Page 26: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueScale1

MaxZoneSize<≤

12×MaxZoneSize

½ pixel 1 pixel

Page 27: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

MidBlueScale3

4×MaxZoneSize=

Page 28: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

OvershootPointSizeBlueScale × 72 × UPM

ppi=

Page 29: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueScaleDetermines when the overshoot becomes visible

Page 30: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueShift

25 units

Page 31: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 32: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 33: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 34: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

25 units 5 units

Page 35: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bcBlueShift =7

7 units25 units 5 units

Page 36: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bcBlueShift =7

Page 37: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Default value: 7 font units(1000 UPM font)

BlueShift

Page 38: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

BlueFuzzExpands the zones

BlueScaleDetermines when the overshoot becomes visible

BlueShiftDefines the minimum overshoot distance that can become visible

Page 39: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard Stems

H E

Page 40: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard Stems

H E O

Page 41: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard Stems

H E O

Page 42: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard Stems

H Ea n s

O

Page 43: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard Stems

H Ea n s

O

Page 44: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Standard StemsVerticalHorizontal

Page 45: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Q: Why are Standard Stems important?

A: Because they tell the rasterizer how heavy the font is.

Q: But why does it need to know that?

A: Because at small sizes the rasterizer makes the stems darker.

Page 46: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 47: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 48: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 49: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 50: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 51: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Page 52: PostScript Hints - Adobe Inc....bc If the difference between a font’s zones and its family’s zones is less than 1 pixel, then the family alignments will be used instead of the

bc

Thanks!And that’s all