1
00:00:00.03 --> 00:00:01.02
- [Instructor] In this movie,

2
00:00:01.02 --> 00:00:04.03
we'll take a look at how you
align text to the pixel grid.

3
00:00:04.03 --> 00:00:06.01
And so notice that I have some

4
00:00:06.01 --> 00:00:09.06
live editable text in the top
left corner of this document.

5
00:00:09.06 --> 00:00:10.05
I'll go ahead and select it

6
00:00:10.05 --> 00:00:11.08
with a black arrow tool,

7
00:00:11.08 --> 00:00:14.06
and then I'll press Control
+ or Command + on a Mac,

8
00:00:14.06 --> 00:00:17.02
in order to zoom-in, and you can see,

9
00:00:17.02 --> 00:00:20.09
that in addition to this
essential anti-aliasing

10
00:00:20.09 --> 00:00:24.02
that's associated with a
curved and diagonal edges,

11
00:00:24.02 --> 00:00:27.02
we have this unproductive anti-aliasing

12
00:00:27.02 --> 00:00:30.03
along the vertical and horizontal edges.

13
00:00:30.03 --> 00:00:32.04
Now, in a perfect world you'd be able to

14
00:00:32.04 --> 00:00:34.03
align this text to the pixel grid

15
00:00:34.03 --> 00:00:36.08
just by turning on that icon

16
00:00:36.08 --> 00:00:38.09
on the far-right side
of the control panel,

17
00:00:38.09 --> 00:00:40.06
but notice that it's dimmed.

18
00:00:40.06 --> 00:00:42.05
And that's because, as things stand

19
00:00:42.05 --> 00:00:43.09
as I'm recording this movie,

20
00:00:43.09 --> 00:00:47.00
you can't align editable
text to the pixel grid.

21
00:00:47.00 --> 00:00:48.01
So what you do instead

22
00:00:48.01 --> 00:00:49.08
is go up to the Type menu

23
00:00:49.08 --> 00:00:51.05
and choose Create Outlines

24
00:00:51.05 --> 00:00:54.06
which is going to convert the
text to static path outlines.

25
00:00:54.06 --> 00:00:56.05
So, obviously you need to make sure

26
00:00:56.05 --> 00:00:58.04
that all of your edits are done,

27
00:00:58.04 --> 00:01:00.04
then go ahead and choose the command.

28
00:01:00.04 --> 00:01:01.07
Now notice at this point,

29
00:01:01.07 --> 00:01:03.03
the horizontal and vertical edges

30
00:01:03.03 --> 00:01:05.04
are still anti-aliased,

31
00:01:05.04 --> 00:01:07.00
and to make that abundantly clear,

32
00:01:07.00 --> 00:01:09.09
I'll press Control H or Command H on a Mac

33
00:01:09.09 --> 00:01:11.06
to hide those selection edges.

34
00:01:11.06 --> 00:01:14.04
And so if you want to get rid
of all that anti-aliasing,

35
00:01:14.04 --> 00:01:16.04
around the i for example,

36
00:01:16.04 --> 00:01:19.06
then just go ahead and click on that icon,

37
00:01:19.06 --> 00:01:21.05
which is now available.

38
00:01:21.05 --> 00:01:24.08
And notice that all that
anti-aliasing goes away.

39
00:01:24.08 --> 00:01:27.04
Problem is, things may not work out

40
00:01:27.04 --> 00:01:29.02
exactly the way you'd like,

41
00:01:29.02 --> 00:01:31.05
and so notice that all of the letters

42
00:01:31.05 --> 00:01:33.04
are looking really great,

43
00:01:33.04 --> 00:01:35.09
except for the lower case Ns,

44
00:01:35.09 --> 00:01:37.04
and so as you can see here,

45
00:01:37.04 --> 00:01:39.06
this right-hand vertical stem

46
00:01:39.06 --> 00:01:42.04
is wider and shorter than it's counterpart

47
00:01:42.04 --> 00:01:44.02
over on the left-hand side,

48
00:01:44.02 --> 00:01:45.07
and so if you want to fix that problem,

49
00:01:45.07 --> 00:01:47.00
you need to press Control H,

50
00:01:47.00 --> 00:01:48.05
or Command H on a Mac,

51
00:01:48.05 --> 00:01:50.09
in order to bring back
those selection edges,

52
00:01:50.09 --> 00:01:54.01
and then press the A key to
switch to the white arrow tool,

53
00:01:54.01 --> 00:01:56.04
and now I'll just go ahead
and click on this point

54
00:01:56.04 --> 00:01:58.00
and shift-click on this one

55
00:01:58.00 --> 00:01:59.08
and press the down arrow key

56
00:01:59.08 --> 00:02:03.01
in order to nudge them into
a more desirable position

57
00:02:03.01 --> 00:02:04.08
so that they're aligned to the baseline

58
00:02:04.08 --> 00:02:06.04
along with the other letters,

59
00:02:06.04 --> 00:02:07.09
and then I'll click on this anchor point

60
00:02:07.09 --> 00:02:09.07
and shift-click on this guy right there,

61
00:02:09.07 --> 00:02:11.03
and press the right arrow key

62
00:02:11.03 --> 00:02:14.08
so that the two vertical
stems are the same width.

63
00:02:14.08 --> 00:02:15.09
And so you may find yourself

64
00:02:15.09 --> 00:02:19.00
running into those kinds of problems.

65
00:02:19.00 --> 00:02:20.01
Another thing to note

66
00:02:20.01 --> 00:02:23.09
is that you only want to
align big, bold display type

67
00:02:23.09 --> 00:02:24.09
to the pixel grid,

68
00:02:24.09 --> 00:02:28.01
and that's because aligning
small or thin letters

69
00:02:28.01 --> 00:02:29.05
can cause problems.

70
00:02:29.05 --> 00:02:30.03
And to see what that looks like,

71
00:02:30.03 --> 00:02:33.00
I'll go ahead and switch over
to this document right here,

72
00:02:33.00 --> 00:02:35.07
and I'll zoom-in on this left-hand iPhone.

73
00:02:35.07 --> 00:02:37.05
Now, at this point, everything looks great

74
00:02:37.05 --> 00:02:40.00
and that's because of Pixel
Preview is turned off,

75
00:02:40.00 --> 00:02:42.04
and so to turn it on, I'll
go up to the View menu

76
00:02:42.04 --> 00:02:43.09
and choose Pixel Preview,

77
00:02:43.09 --> 00:02:45.06
at which point we can see that

78
00:02:45.06 --> 00:02:47.02
we have some problems.

79
00:02:47.02 --> 00:02:49.04
Now notice that we have some anti-aliasing

80
00:02:49.04 --> 00:02:51.06
along this top horizontal edge,

81
00:02:51.06 --> 00:02:53.06
obviously we have a lot of anti-aliasing

82
00:02:53.06 --> 00:02:54.08
inside the letters,

83
00:02:54.08 --> 00:02:56.07
we also have some bad edges

84
00:02:56.07 --> 00:03:00.05
up here at the top of
this case, and so-forth.

85
00:03:00.05 --> 00:03:03.01
And along the top of this left-hand phone.

86
00:03:03.01 --> 00:03:04.01
And so to fix all that,

87
00:03:04.01 --> 00:03:06.03
you'd want to go up to the Select menu,

88
00:03:06.03 --> 00:03:09.02
choose Object, and then notice
this command right here,

89
00:03:09.02 --> 00:03:11.01
Not Aligned To Pixel Grid.

90
00:03:11.01 --> 00:03:13.05
And so this command is
going to allow you to select

91
00:03:13.05 --> 00:03:15.09
everything inside the active document

92
00:03:15.09 --> 00:03:17.07
that is not already aligned,

93
00:03:17.07 --> 00:03:20.07
which happens to be everything
in this particular document,

94
00:03:20.07 --> 00:03:23.03
and then I'll right-click
inside the document window

95
00:03:23.03 --> 00:03:25.05
and choose Make Pixel Perfect.

96
00:03:25.05 --> 00:03:28.03
And notice that does exactly
what we want it to do

97
00:03:28.03 --> 00:03:30.09
along those horizontal and vertical edges,

98
00:03:30.09 --> 00:03:33.09
but it doesn't appear to
do much at all to the text.

99
00:03:33.09 --> 00:03:35.09
But now notice, if I were
to go up to the View menu

100
00:03:35.09 --> 00:03:38.00
and turn off Pixel Preview,

101
00:03:38.00 --> 00:03:41.04
that we've messed the
text up significantly.

102
00:03:41.04 --> 00:03:44.02
And so this is how it had appeared before

103
00:03:44.02 --> 00:03:46.07
and this is how it looks after.

104
00:03:46.07 --> 00:03:48.09
And so imagine that you
want to create a document

105
00:03:48.09 --> 00:03:52.04
that works equally well
in print and onscreen,

106
00:03:52.04 --> 00:03:53.02
in that case,

107
00:03:53.02 --> 00:03:56.05
go ahead and undo that
last modification like so,

108
00:03:56.05 --> 00:03:58.02
and then I'll press the V key

109
00:03:58.02 --> 00:04:00.00
to switch back to my black arrow tool,

110
00:04:00.00 --> 00:04:02.07
I'll shift-click on those
letters to deselect them,

111
00:04:02.07 --> 00:04:03.06
and then I'll just go ahead

112
00:04:03.06 --> 00:04:06.03
and scroll over to the left-hand iPhone

113
00:04:06.03 --> 00:04:08.00
and I'll shift-click on it's letters

114
00:04:08.00 --> 00:04:09.08
to deselect them as well,

115
00:04:09.08 --> 00:04:12.06
and now with the text deselected,

116
00:04:12.06 --> 00:04:14.00
I'll go ahead and once again,

117
00:04:14.00 --> 00:04:16.00
right-click inside the document window

118
00:04:16.00 --> 00:04:17.09
and choose Make Pixel Perfect

119
00:04:17.09 --> 00:04:19.05
in order to align everything

120
00:04:19.05 --> 00:04:21.06
except the text to the pixel grid.

121
00:04:21.06 --> 00:04:23.06
Now at this point, I no
longer want the bounding box,

122
00:04:23.06 --> 00:04:25.01
so I'll go up to the View menu

123
00:04:25.01 --> 00:04:27.05
and choose Hide Bounding
Box to get rid of it,

124
00:04:27.05 --> 00:04:29.02
and then I'll press Control Shift A,

125
00:04:29.02 --> 00:04:31.00
or Command Shift A on a Mac,

126
00:04:31.00 --> 00:04:32.06
to deselect my artwork.

127
00:04:32.06 --> 00:04:34.04
And the result is an illustration

128
00:04:34.04 --> 00:04:36.08
that will have no anti-aliasing

129
00:04:36.08 --> 00:04:40.00
along it's horizontal or vertical edges.

130
00:04:40.00 --> 00:04:41.07
And then, just so we can
see the difference here,

131
00:04:41.07 --> 00:04:43.00
I'll go up to the View menu

132
00:04:43.00 --> 00:04:44.07
and choose Pixel Preview,

133
00:04:44.07 --> 00:04:46.03
and again as you can see here,

134
00:04:46.03 --> 00:04:48.07
our horizontal and vertical edges

135
00:04:48.07 --> 00:04:52.07
no longer have any
anti-aliasing whatsoever,

136
00:04:52.07 --> 00:04:54.08
and yet, if we were to print the document,

137
00:04:54.08 --> 00:04:57.05
the text would look absolutely great.

138
00:04:57.05 --> 00:05:01.03
And so what we have is effectively
the best of both worlds.

139
00:05:01.03 --> 00:05:02.07
And so just remember,

140
00:05:02.07 --> 00:05:04.09
if you want to align
big, bold display type

141
00:05:04.09 --> 00:05:07.07
to the pixel grid inside Illustrator CC,

142
00:05:07.07 --> 00:05:11.07
you first need to convert
it to static path outlines.

