+ All Categories
Home > Documents > Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به...

Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به...

Date post: 26-Dec-2015
Category:
Upload: solomon-tobias-west
View: 219 times
Download: 0 times
Share this document with a friend
46
Text
Transcript
Page 1: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Text

Page 2: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Introductionبديهي اس�ت ك�ه متن س�اده ترين ن�وع داده اي اس�ت و ب�ه ح�داقل فض�ا •

براي ذخيره سازي نياز دارد.

و • افك�ار انتق�ال ب�راي پاراگراف ه�ا و كلم�ات، جمالت ب�ه ص�ورت متن عقايد و حقايق در زندگي روزمره استفاده مي شود.

متن مانن�د بقي�ه ان�واع رس�انه ها از نظ�ر ط�اهري ج�ذاب نيس�ت، ام�ا اغلب •اطالعات الزم و كامل را انتقال مي دهد.

با توس�عه اين�ترنت و وب جه�اني، متن نس�بت ب�ه گذش�ته اهميت بيش�تري •پيدا كرد.

وب ش�امل حجم زي�ادي از متن اس�ت، ب�ر خالف رس�انه تلويزي�وني ك�ه •شامل صوت و تصوير و اندكي متن به عنوان تيتر است.

Page 3: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Introduction (cont.)

• Multimedia applications depend on text for many things including:

- Page titles- Delivering information in form of multiple

sentences / paragraphs- Labels for pictures- Instructions for operating the application

متن رايج ترين شكل تحويل اطالعات است.•

Page 4: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Text elements• Alphabet characters

• A – Z and a – z

• Numbers• 0 – 9

• Special characters- Punctuation (. , ; “ ‘ ! : - /)- Signs ($ + - = @ # % ^ & *)

Page 5: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Obtaining Text

• Text can be captured in following ways:

• Keyboard• Mouse• Scanner (OCR) – Optical Character

Recognization* * designed to translate images of handwritten or

typewritten text (usually captured by a scanner) into machine-editable text.

Page 6: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Types of Text

Unformatted text (Plaintext)

شامل رشته هايي از كاراكترهاي با اندازه ثابت از •يك مجموعه كاراكتري محدود است.

Formatted text (Richtext)

شامل رشته هايي از كاراكترهاي با اندازه، سبك و •شكل متفاوت همراه با جدول و گرافيك و تصوير

.درج شده در مكان مناسب مي باشد

• Example: Rich Text Format (RTF), HTML, .doc

Page 7: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Types of Text

Hypertext

مجموعه مجتمعي از اسناد با متن قالب بندي •شده را مي توان با پيوند بين آنها ايجاد كرد.

Page 8: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Basic ASCII character set

This is a set of characters that are available in the ASCII (American Standard Code for Information Interchange) character set. This is one of the most widely used character sets and the table includes the binary codeword used to represent each character.

Unformatted Text

Page 9: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

مجموعه كاراكتر اسكيASCII Code• Each character is represented by a unique 7-bit binary

codeword, meaning that there are 128 (27) alternative characters.

• In addition to all normal alphabetic, numeric and punctuation characters, the total ASCII character set also includes control characters such as BS (backspace), DEL (delete), etc.

Page 10: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

مجموعه كاراكتر بسط يافته و يونيكدExtended Character Set (ISO Latin-1)

• Extra 1 bit in ASCII is filled with ANSI (American National Standards Institution) characters (256 characters)

Unicode• Unicode is the universal standard for

multi language characters published by Unicode Consortium.

• Unicode 4.0 standard covers 96,382 characters using 16 bits uniform encoding.

• Unicode can support a wide variety of non-Roman alphabets including Han Chinese, Japanese, Arabic, Korean, Bengali, and so on.

ابپثجحخ

αβγδεζ

Unicode Characters

¢ ä ü

Extended Characters

Page 11: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Formatted Text

• An example of formatted text is that produced by most word processing packages. It enables documents to be created that consist of characters of different styles and variable size and shape, each of which can be plain, bold, or italicized.

• In addition, a variety of document formatting options are supported to enable an author to structure a document into chapters, sections and paragraphs, each of which with different headings and with tables, graphics and pictures inserted at appropriate points.

Page 12: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Hypertext

Figure 2.3. Example of an electronicDocument written in hypertext

Hypertext is a type of formatted text that enables a related set of documents, normally referred to as pages, to be created which have defined linkage points, referred to as hyperlinks, between each other.

Page 13: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Fonts & Typefaces فونت ها و طرححروف• The term font is often used incorrectly as a

synonym for typeface•Font

مجموعه اي از كاراكترهايي با يك اندازه و سبك كه به •خانواده خاصي از طرح حروف تعلق دارد.

•Example : Arial 18 point Bold

•Typefaceخانواده اي از كاراكترهاي گرافيكي شامل اندازه ها و •

سبك هاي متعدد A typeface is a family of related fonts• Example : Bookman Old Style

Page 14: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Font Styles & Font Sizes

• Typical font styles are bold, italic and underline.

• Font sizes are usually measured in points where one point is equal to 0.138 inches or 1/72 of an inch.

• The font size is determined by measuring between the top of a capital letter to the bottom of descenders in letters such as g and y.

Page 15: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Baseline – the line on which the bases of characters are arranged

خط زمينه كاراكترها (خط مبنا)

• Leading – the distance between successive baselinesفاصله بين دو خط زمينه

• x-height – the distance between the baseline and the top of a lower-case letter x

xفاصله بين خط زمينه و باالي حرف كوچك

• Ascenders/descenders – strokes that rise above the x-height/drop below the baseline

y و q -- بخش پاييني حروف مثل k و b و hبخش بااليي حروف مثل

• Kerning – adjustment of space between certain pairs of letters (e.g. AV) to make them look more uniform

AVفاصله بين جفت كاراكترهاي خاص مثل

Font Terminology واژگانمخصوص فونت

337

Page 16: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Tracking - Spacing between characters.فاصله بين كاراكترها

• Serif - Flag or decoration at the end of a character stroke.دكور اندكي در انتهاي حرف

Font Terminology واژگانمخصوص فونت

Page 17: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

FD xhpDescender

Cap height

Point size

Ascender

Serif

X-height

This example shows the Times New Roman fontThis example shows the Times New Roman font

Baseline

Page 18: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

336

Page 19: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

BD hpAvReading line one.Reading line two.

Ascender

DescenderKerning

TrackingSerif

Leading

Page 20: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Tracking and Kerning

Av vAUnkerned Kerned

Page 21: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Serif and sans serif fonts Fonts can broadly be said to be of one of two

types: serif (داراي زوايد) or sans serif ( فاقد(زوايد

A serif is the decorative ‘bit’ at the end of a letter stroke Serif fonts have them and sans serif fonts don’t (‘sans’

being French for ‘without’)

Serif fonts are usually used for printed media or documents that have large quantities of text. This is because the serif helps guide the reader’s eye

along the line

Sans Serif fonts are considered better for computer displays because of the sharper contrast.

Page 22: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Times New RomanBookman Old StyleMonotype Corsiva

Courier New

Times New RomanBookman Old StyleMonotype Corsiva

Courier New

Serif fontsSerif fonts

ArialTahomaImpact

Verdana

ArialTahomaImpact

Verdana

Sans serif fontsSans serif fonts

Page 23: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Font Styles

Bold, Italic, Underline, Strikethrough, superscript or subscript, embossedembossed or shadowshadow

CCoolloouurrss Some common fonts used today include:

Arial (or Helvetica) A sans serif font

Times New Roman (or Times Roman) A serif font

Courier New (or Courier) A monospaced font (all characters have the same width)

Page 24: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Font Types• PostScript

• Page Description Language• Uses mathematical construct• Allows the character to be scaled bigger/smaller; able to be finely printed.• Needs special software to display• Needs licensing• Example: Adobe’s PostScript

• TrueType• Page Description Language• TrueType is joint effort by Apple & Microsoft. • Uses mathematical construct.• In addition to printing smooth chars, it allows chars displayed on low-

resolution monitors.• No special software needed to display• No licensing needed

• Bitmap• Images of characters• Requires a lot of memory

Page 25: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Bitmapped and vector fonts Fonts can either be stored as bitmapped or vector

Bitmaps require one bitmap for each size File size increases as more sizes are added. Require a lot of memory.

Vector fonts can draw any size by scaling the vector drawing primitives mathematically File size is much smaller than bitmaps. TrueType and PostScript are vector font formats.

Page 26: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Bitmapped and vector fonts

A bitmapped fontA bitmapped font A vector fontA vector font

Page 27: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Font Appearance• Multimedia developers are more concern about

how text would appear on the screen.

Rasterization• Font is drawn on the screen one pixel at a time

• Jaggies are the jagged edges you see when a bitmapped image is resized

• It is a consequence of the underlying array of pixels from which the image is composed

Anti-aliasing• Blend the font into the background color. • This technique minimizes the jagged edges making

for smoother overall appearance.• It substitutes additional pixels in other colours to

fool the brain into thinking it is seeing continuous lines

Page 28: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Font mapping

• Some fonts installed in your machine may not be available in other user’s machine.

• If the fonts that you used is not available in other people’s computer, a default font will be used for substitution.

• Specifying which font to be substitution is called font mapping.

Page 29: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

CAN YOU READ THIS? IF NOT IT IS BECAUSE EVERYTHING IS WRITTEN IN CAPITAL LETTERS. THEREFORE THIS SHOULD ALWAYS BE AVOIDED.

Can you read this? It is easier because people will recognize shape of characters easier this way.

Can you read this? It is easier because people will recognize shape of characters easier this way.

Page 30: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Meaningful words• Text is use for titles and headlines, menus,

navigation, and content.• Computer screens provide a limited space, so sometimes you need

to decide how much text information you can pack onto the screen.• Too much text – crowded or ‘busy’ screen• Too little text – too many page and unnecessary mouse click

وقتي با متن كار مي كنيد، در انتخاب كلمه بايد دقت فراواني داشته •باشيد.

طراحي برچسب هايي براي صفحات، منوها، دكمه ها يا •) با استفاده از واژه هايي كه معناي دقيقي tabsبرگه ها(

براي بيان هدف ما دارند، مهم است.

•GO BACK) (برگشت به عقب) قدرتمندتر از Previous.است (•Quit (خروج) قدرتمندتر از Close.(بستن) است

Page 31: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Guideline of choosing fonts• For small type, do not use decorative fonts

because in small size they are unreadable.

• Use as few typefaces as possible but you can vary the size and style using italic or bold.

• Adjust the leading or line spacing where you have a lot of text for easier reading.

• Vary the size of a font according to the importance of the message you are delivering.

• Use bold or emphasize text to highlight ideas or concept.

Page 32: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Guideline of choosing fonts

• In large headlines, adjust the spacing between letters (kerning) so that the spacing feels right.

• Use anti-aliasing for big fonts but turn off anti-aliasing for small fonts.

• Surround headlines with white space

• Distinguish text links with colors and underlining

• Use drop caps(حروف بزرگ پايين تر از خط مبنا) and initial caps (حروف بزرگ اول كلمات)

Page 33: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Using text in multimedia applications

1. Choose fonts that are more readable e.g. sans serif fonts.

2. Keep the number of font typefaces in a presentation to a minimum - too many fonts can be distracting

3. Text should not be too close to a picture or video - difficult to read

4. Consider color, font and sizing when placing text over graphics

Page 34: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Using text in multimedia applications

5. Vary size, boldness , style when communicating e.g. use a larger bold font when trying to get attention

6. Use white type on a black background or other reverse colors - avoid colors which blend into each other

7. Use novel approaches e.g. wrapped, curved or shadowed lettering to get the user’s attention (except for informational text)

Page 35: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Using text in multimedia applications

8. Repeat to reinforce meaning of photographs, sounds, illustrations, music, animation or video through the use of captions, titles, short explanations or headlines

9. Localize text according to culture

10.Hypertext to other media facilitate information access on demand

11.Allow the user to enter information – keyboard / pre-generated list

Page 36: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Using text in multimedia applications

12.Lower case letters are more legible than upper case letters

13.Special effects and color can enhance legibility

Page 37: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Efficient use of text

• Positive ways to communicate message by less text and other ways are

1. Hypertext2. Pop-up Messages3. Drop-down Boxes4. Scroll Bars5. Buttons for interaction6. Symbols & Icons

Page 38: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Linking a hypertext or hot word / hotspot to another part of the title that displays more text

• Very effectively used to retrieve info from databases

• Helps user in decision making

• User can process information faster and strategically

Hypertext

Page 39: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Another type of Hot word used to save space

• Click on a hot word or a text, a small message pops up explaining in brief about the hot word

• Remains for some time and vanishes after programmed duration or by a mouse click

Pop-up messages

Page 40: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Gives the user a set of choices and reduces his strain of decision making

• That is making choice in a easier way and limited according to the system’s capabilities

• Choosing may lead to another page with text or may retrieve info from database

Drop-down boxes

Page 41: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Usually not a good practice to use scroll bars

• Mostly irritates the user

• Important messages should not be posted using scrollbars, since the user may not notice it

Scroll Bars

Page 42: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• The concept of hyper linking remains the same

• Change in appearance by using a button with text to glow on it rather than using a hyper text

فونتي را براي دكمه انتخاب كنيد كه خوانا باشد.•اگر از فونت خاصي استفاده مي كنيد، هنگام نصب برنامه •

كاربردي، فونت بايد به مجموعه فونت هاي سيستم اضافه استفاده كرد تا bitmapمي شود. يا مي توان از تصاوير

مشكل عدم وجود فونت برطرف شود.

Buttons

Page 43: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

• Using symbols or icons in-order to express a meaning

• Eg: A floppy icon in MS Word represents “Save”, expressing to save the document

زباني از نمادها و آيكون هاي خاص براي پروژه چندرسانه اي •خودتان طراحي نكنيد.

حتي براي نمادها و آيكون هاي متداول از برچسب هاي متني •استفاده كنيد.

Symbols & Icons

Page 44: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Summary1. Text is the simplest of data types and requires the

least amount of storage.2. 3 categories of text elements:

Alphabet characters, Numbers, Special characters3. 3 types of text:

Unformatted text, Formatted text, Hypertext4. Font is the collection of characters of different sizes and

styles of a typeface.5. Typeface is the graphic representation or the shape of

characters.6. Font Terminology:

Baseline, Leading, x-height, Ascenders/Descenders, Kerning, Tracking, Serif

Page 45: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Summary7. Font types:

PostScript, TrueType, Bitmap8. Bitmaps require one bitmap for each size.

File size increases as more sizes are added. Require a lot of memory.

9. Vector fonts can draw any size by scaling the vector drawing primitives mathematically.

File size is much smaller than bitmaps.

10. Rasterization refers that font is drawn on the screen one pixel at a time.

11. Anti-aliasing blends the font into the background colour to minimize the jagged edges making for smoother overall appearance.

Page 46: Text. Introduction بديهي است كه متن سادهترين نوع دادهاي است و به حداقل فضا براي ذخيرهسازي نياز دارد. متن به صورت

Summary 12. Font mapping specifies which font to be substitution if

the fonts that you used is not available in other people’s computer.

13. Positive ways to communicate message by less text: Hypertext, Pop-up Messages, Drop-down Boxes,

Scroll Bars, Buttons, Symbols & Icons.


Recommended