Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Feram committed Jun 13, 2016
1 parent 84c6190 commit b979d5f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PRAnnotation.pas
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ procedure TPRAnnotation.Print(ACanvas: TPRCanvas; ARect: TRect);
APos: integer;
NewRect: TRect;
begin
// omitting LF charactors from CRLF sequence.
// omitting LF characters from CRLF sequence.
S := Text;
APos := pos(#13#10, S);
while APos > 0 do
Expand Down
6 changes: 3 additions & 3 deletions PReport.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@ procedure TPRLabel.Paint;

PdfCanvas := GetInternalDoc.Canvas;

// setting canvas attribute to the internal doc(to get font infomation).
// setting canvas attribute to the internal doc(to get font information).
SetCanvasProperties(PdfCanvas);

with Canvas do
Expand Down Expand Up @@ -1679,7 +1679,7 @@ procedure TPRLabel.SetCanvasProperties(ACanvas: TPdfCanvas);
tmpCharSpace: Single;
CharCount: integer;
begin
// setting canvas attribute to the internal doc(to get font infomation).
// setting canvas attribute to the internal doc(to get font information).
with ACanvas do
begin
SetFont(GetFontClassName, FontSize);
Expand Down Expand Up @@ -1776,7 +1776,7 @@ procedure TPRText.Paint;
// this is useless way, but I don't think of more smart way.
PdfCanvas := GetInternalDoc.Canvas;

// setting canvas attribute to the internal doc(to get font infomation).
// setting canvas attribute to the internal doc(to get font information).
with PdfCanvas do
begin
SetFont(GetFontClassName, FontSize);
Expand Down
2 changes: 1 addition & 1 deletion PdfDoc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ function TPdfCanvasAttribute.MeasureText(Text: string; Width: Single): integer;
Result := 0;
tmpTotalWidth := 0;

// calculate number of charactor contain in the specified width.
// calculate number of character contain in the specified width.
for i := 1 to Length(Text) do
begin
ch := Text[i];
Expand Down
2 changes: 1 addition & 1 deletion PdfFonts.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{*
* << P o w e r P d f >> -- PdfFonts.pas
*
* << Standerd font set for WinAnsiEncoding Charactors >>
* << Standerd font set for WinAnsiEncoding Characters >>
*
* Copyright (c) 1999-2001 Takezou. <takeshi_kanno@est.hi-ho.ne.jp>
*
Expand Down
2 changes: 1 addition & 1 deletion PdfGBFonts.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{*
* << P o w e r P d f >> -- PdfGBFonts.pas
*
* << Japanese font set for Shift-JIS Charactors >>
* << Japanese font set for Shift-JIS Characters >>
*
* Copyright (c) 1999-1101 Takezou. <takeshi_kanno@est.hi-ho.ne.jp>
*
Expand Down
2 changes: 1 addition & 1 deletion PdfJPFonts.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{*
* << P o w e r P d f >> -- PdfJpFonts.pas
*
* << Japanese font set for Shift-JIS Charactors >>
* << Japanese font set for Shift-JIS Characters >>
*
* Copyright (c) 1999-1101 Takezou. <takeshi_kanno@est.hi-ho.ne.jp>
*
Expand Down
2 changes: 1 addition & 1 deletion PdfJpCMap.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{*
* << P o w e r P d f >> -- PdfJpCMap.pas
*
* << conversion routines from japanese charactor code to CID >>
* << conversion routines from japanese character code to CID >>
*
* Copyright (c) 1999-2001 Takezou. <takeshi_kanno@est.hi-ho.ne.jp>
*
Expand Down

0 comments on commit b979d5f

Please sign in to comment.