200408972 玖、發明說明: 發明所屬之技術領域 本發明是有關於一種從資訊儲存媒體再生互動顯示 的互動內容的技術,且較特別的是,有關於一種依據外觀 比守恆以控制字型來再生互動內容,縮小顯示失真的裝置 與方法。 先前技術 一般而言,聲音(audio)和/或影像(video)互動資訊(AV interactive information)與使用者定義資訊,是記錄在資訊 儲存媒體上。AV互動資訊是從資訊儲存媒體實際再生的 內容,而使用者定義資訊則是由製作者定義的獨特資訊。 當使用一般再生裝置時,只會從資訊儲存媒體再生AV內 容。當使用如電腦一般的裝置時,可存取與使用使用者定 義資訊。 近來,互動式資訊儲存媒體已經商品化。提供使用者 互動顯示的超文字標示語言(Hypertext Markup Language, HTMT),可用來將互動式資訊儲存媒體應用在web-based 環境。當從互動式資訊儲存媒體再生資訊時,即使使用一 般再生裝置,使用者仍可看到一個與顯示AV內容的AV 影像一起顯示,用來顯示工具、文字、或影像的互動式影 像(interactive image),藉此使用者可存取網路鏈結與執行 搜尋。 · 第1A圖與第1B圖是以互動模式顯示的螢幕(screen) 範例。第1A圖繪示一個外觀比(aspect ratio)爲4:3的螢幕 12580pif.doc/008 6 200408972 (在下文中稱爲4:3螢幕)。第1B圖繪示一個外觀比爲16:9 的寬營幕(wide screen)。 習知互動式資訊儲存媒體的製作方式,是使其具有〜 個只適用於如個人電腦顯不器營幕的像素外觀比(piXel aspect ratio)爲1:1的4:3螢幕的標示文件(markup document)。因此,當互動影像顯示在電視螢幕上時,因 爲電視螢幕並未具有1:1像素外觀比,所以互動影像以不 想要的格式顯示,因此會有不同螢幕外觀比(screen aspeet ratio)。換言之,當從一習知互動式資訊儲存媒體再生一適 用於具特定像素外觀比螢幕的HTML檔案,以及將HTML 檔案顯示在與特定像素外觀比不同的像素外觀比螢幕(例 如4:3電視螢幕)上時,如第2圖所示,HTML檔案並非以 內容製作者想要的格式顯示。 當在具不同像素外觀比的顯示裝置上顯示互動影像 時,會發生影像失真(image distortion),而且影像型狀會 與內容製作者想要的不同。因此,需要一種以內容製作者 想要的格式,在具有與所產生的標示文件不同的像素外觀 比的螢幕上,無失真地顯示互動內容的方法。 發明內容 有鑑於此,本發明提供一種根據外觀比守恆(aspect ratio conversion)控制字型,儘量縮小顯示失真,以再生互 動內容之裝置與方法。 本發明更加提供一種使用包含最適用於標示文件的外 觀比資訊與解析度資訊的標示文件的外觀比資訊,控制適 12580pif.doc/008 7 200408972 用於外觀比守恆的字型尺寸,儘量縮小顯示失真,以再生 互動內容之裝置與方法。 本發明更加提供一種根據其上顯示字型的螢幕解析度 與外觀比,放大或縮小具預定像素外觀比的字型,儘量縮 ) 小顯7TK失真,以再生互動內容之裝置與方法。 根據本發明一方面,本發明提供一種從資訊儲存媒體 再生互動內容之裝置。該互動內容包括包含聲音資料與影 像資料的AV資料、一個標示文件、和/或一個標示資源檔 案。該裝置包括一個字型控制裝置,根據輸入標示文件的 外觀比資訊與解析度資訊,決定字型的像素外觀比,根據 所決定的像素外觀比,放大或縮小字型尺寸,並且輸出處 理過且適用於其上顯示互動內容的螢幕外觀比與解析度變 化的字型資料。 根據本發明一方面,本發明提供一種從資訊儲存媒體 再生互動內容之方法。該互動內容包括包含聲音資料與影 像資料的AV資料、一個標示文件、和/或一個標示資源檔 案。該方法包括根據輸入標示文件的外觀比資訊與解析度 資訊’決定字型的像素外觀比,在顯示之前,先放大或縮 小字型尺寸’並且輸出處理過且適用於其上顯示互動內容 的營幕外觀比與解析度變化的字型資料。 爲讓本發明之上述和其他目的、特徵、和優點能更明 顯易懂’下文特以較佳實施例,並配合所附圖式,作詳細 說明如下: 實施方式,: 12580pif.doc/008 8 200408972 以下將參考所附繪圖,詳細說明本發明的較佳實施 例。 第3圖是根據本發明的一再生裝置的示意方塊圖。該 再生裝置包括一個讀取器1、一個緩衝記憶體(buffer memory)2、一個快取記憶體(cache memory)3、一個解碼器 4、一個控制單元5、以及一個混合器(bleiuier)7。控制單 元5更加包括一個展示引擎6。讀取器1包括一個光學讀 取頭裝置(optical pickup unit)(未繪示),藉由將雷射光束照 射至互動式資訊儲存媒體100,而讀取資料。 互動式資訊儲存媒體1〇〇提供可在使用者互動環境中 顯示的各種不同類型的資訊與AV內容。互動式資訊儲存 媒體100具有一個包含解析度資訊與標示文件外觀比資訊 的標示文件,使互動影像可以適當特定螢幕外觀比顯示。 一般而言,雖然在標示文件中使用具方形(square)像素外 觀比的字型,但字型格式可隨內容製作者意圖而變。 讀取器1控制光學讀取頭裝置,依照來自控制單元5 的控制訊號,從互動式資訊儲存媒體1〇〇,讀取AV資料 與標示文件。緩衝記億體2將AV資料緩衝,快取記憶體 3暫存(cache)用來控制AV資料和/或標示文件播放的播放 控制資訊檔案,或暫存其他必要資訊。控制單元5控制讀 取器1、解碼器4、展示引擎6、以及混合器7,依照使用 者意圖,選擇以影像模式(video m〇de)或互動模式’從互 動式資訊儲存媒體100再生AV資料。 展示引擎6是一個用來分析如JavaScript及Java的標 12580pif.doc/008 9 200408972 示語言或程式語言的分析引擎。展示引擎6可包括各種插 件程序(Plugins)。該些插件程序可讓使用者開啓包含在或 鏈結到標示文件的各種不同格式的標示資源檔案。換言 之,展示引擎6是當成標示文件觀看器(viewer)使用。在 本發明一實施例中,展示引擎6可存取網際網路與讀取預 定資料。 展示引擎6從快取記憶體3擷取(fetch)—個標示文 件,並且接下來分析與以互動模式再現(render)的標示文 件。混合器7混合AV資料流與再現的標示文件,使AV 資料流可顯示在由標示文件定義的顯示視窗上,也就是 說,AV影像是崁入在標示文件影像中,並且將混合結果 輸出至顯示裝置200。 較特別的是,展示引擎6使用包含適用於標示文件的 解析度資訊與外觀比資訊的標示文件的外觀比資訊,放大 或縮小以方型像素外觀比製成的字型,以儘量縮小互動資 料失真。因此,互動資料可以原始字型顯示在與具失真的 標示文件的原始解析度與外觀比不同解析度與外觀比的螢 幕上。 第4圖是根據本發明一實施例,根據外觀比守恆控制 字型,以再生互動內容之裝置的示意方塊圖。在第4圖中, 子影像(sub-image)是一個與視訊影像(video image)重疊的 子圖型資料(sub picture data)。其中,子影像與視訊影像 是由第3圖中的解碼器4所產生。 視訊轉換器(video converter)71是由一個控制器72所 12580pif.doc/008 10 200408972 控制,依照顯示裝置200的螢幕外觀比與解析度,將視訊 影像的格式轉換成Pan & scan格式或letterbox格式,或不 經轉換,直接將解碼器4產生的視訊影像輸出。第一混合 器(first miXer〇73將來自影像轉換器71的影像視訊與子影 像混合。影像位置/影像尺寸控制器74根據輸入的影像佈 局資訊,控制第一混合器73輸出的混合影像位置,以及 顯示在顯示裝置200螢幕上的AV影像尺寸。 圖型影像轉換器(graphic image converter)75是由控制 器72所控制,根據文件外觀比資訊,轉換展示引擎6產 生的標示影像來源的圖形影像尺寸(長度或寬度)。第二混 合器76將影像位置/影像尺寸控制器74的輸出與圖型影 像轉換器75的輸出混合,並且將混合結果輸出至顯示裝 置200,使混合結果顯示在顯示裝置200的螢幕上。控制 器72依照顯示裝置200的螢幕外觀比與解析度,控制視 訊轉換器71與圖型影像轉換器75。影像轉換器71、控制 器72、第一混合器73、影像位置/影像尺寸控制器74、圖 型影像轉換器75、以及第二混合器76、共同組成混合器7。 較偏好互動影像顯示檔案是一個如web-based文件檔 案的標示文件,而且該標示文件是由標示語言或如代表影 像、動畫(animation)、或字型的標示資源檔案所寫成。 雖然圖中未繪示,但展示引擎6包含一個標示文件語 法剖析器(markup document parser)與一個樣式表語法剖析 器(style sheet parser)。標示文件語法剖析器剖析標示文 件,產生符合下列規則的文件樹(document tree)。首先, 12580pif.doc/008 11 200408972 將所有節點的一根節點(root n〇de),設定成一文件節點 (document node)。接下來,所有文字(texts)與元件(eiements) 產生一節點。接下來,處理指令、注釋、以及文件類型產 生另一節點。樣式表語法剖析器剖析一個可允許自由設定 標示文件格式的樣式表,以產生一樣式規則(style rule)與 一選擇表單(selector list)。樣式表語法剖析器提供輸入至 影像位置/影像尺寸控制器74的影像佈局資訊與鏈結到標 示文件的標示資源的佈局資訊(又稱爲標示資源佈局資 訊)。標示資源佈局資訊接下來輸入至標示影像混合器64。 依照文件樹,影像解碼器61可解碼影像資料,動畫 解碼器62可解碼動畫資料,而且字型解碼器63可根據字 型相關資訊解碼文字資料,產生具適當字型的文字資料。 字型相關資訊包括統一碼(unicode)資訊(國際標準字型資訊) 與字型族資訊,或儲存在再生裝置中當成系統預設値的字 型資訊。 一 在本發明中,字型解碼器63特別使用根據標示文件 語法剖析器輸出的標示文件的外觀比資訊事先對顯示裝置 2〇〇的營幕外觀比所設定的一矩陣値,放大或縮小子型, 並且輸出字型資料。以下將參考第5圖到第9圖,詳細說 明字型解碼器63的動作° 標示影像混合器64根據標示資源佈局資訊,混合影 像解碼器01、動畫解碼器62、以及字型解碼器63的輸出, 產生一標示影像資源,並且將標示影像資源輸出給混合器 7的圖型影像轉換器75 ° 12580pif.doc/008 12 200408972 影像解碼器61、動畫解碼器62、字型解碼器63、標 不影像混合器64、以及其他單元(未繪示),共同組成展示 引擎6。 顯示在互動影像中的標示文件較偏好可包含用來指示 16:9螢幕、4:3螢幕、與1:1螢幕的解析度資訊與外觀比 資訊,或包含在並未設定用於標示文件的外觀比的範例 中,與螢幕外觀比無關的解析度資訊與外觀比資訊。第1 表顯示解析度資訊與外觀比資訊的範例。當標示文件並未 包含解析度資訊與外觀比資訊時,可利用設定在再生裝置 中的基本螢幕資訊。舉例而言,基本螢幕資訊可包含一個 720像素的水平解析度、一個480像素的垂直解析度、以 及一個14:9的外觀比。 第1表 像素外 觀比 1:1 0.888:1 1.186:1 只設定解 析度,未 設定像素 外觀比 使用範 R720x405, R720x480, R720x480, R720x480 例 Alxl A4x3 A16x9 R720x576 R720x540, R720x576, R720x576, R1920xl08 Alxl R1920xl080, Alxl A4x3 A16x9 0 R960x540 12580pif.doc/008 13 200408972 標示文件的解析度資訊與外觀比資訊,可用一標籤(tag) 炭入標示文件中,例如:<meta name=”bestlook” content=5,resolution value5Aaspect ratio value〉。在一修正 範例中,可用<11111<:111^=”€〇〇乂88”1706=:!^6又1:/〇88”(16¥化€-aspect-ratio=”aspect ratio value”/>。解析度資訊與外觀比 資訊是用來指示可以最佳方式顯示標示文件的解析度與外 觀比。以下是組合外觀比與解析度的一標示文件範例。 <xml version=”10” encoding= ’’UTF-8” ?> < 1D0CTYPE html PUBLIC-//DVD/DTD XHTML DVD-HTML 1.0//EN” “http://www.dvdfonim.org/enav/dvdhtml-l .O.dtd”〉” <html> <head> <title>720x480, 4x3 PAGE</title> <meta name=”bestlook” content=”R720x480,A4x3”/〉 〈link href=’’foo.css” type=’’text/css” device-aspect-ratio=,,4:3,,/> 〈script language^ecmascipt’’〉 <![CDATA[ function onload_handler() { idplayer.play(); idplayer.enable VideoTransform(O); 14 12580pif.doc/008 200408972 //Disable first video transform when a value is 0 and enable first video transform when a value is 1. } ]]> </script> </head> </body id=” docbody” onload=’’onload—handler()”> 〈object style=” position: absolute; left : 150px ; top: lOOpx; width: 370px; height:250px” data=”dvd:video_ts” id=”idplayer”/> Interactive Data </body> </html> 一般而言,字型是在一像素外觀比爲1:1(方形)的螢 幕上產生。而且字型資訊是由座標點(coordinate point)所 組成,因此可如第5圖所示,使用字型輪廓(f0nt outline) 的控制點資料,輕易執行如放大、縮小、或轉動的二維相 位轉換。 然而,電視螢幕並未具方形像素外觀比。如第2表所 示,當螢幕外觀比爲4:3時,像素外觀比爲0.888:1。當螢 幕外觀比爲16:9時,像素外觀比爲1.186:1。 15 12580pif.doc/008 200408972 第2表 720x480(NTSC)的 螢幕外觀比 4:3 16:9 像素外觀比 0.888:1 1.186:1 因此,當具方形像素外觀比的字型(在下文中又稱爲 1:1字型),未經轉換直接從電視螢幕輸出時,就會發生以 下的現象。 如第6A圖所示,當一個1:1字型未經轉換直接從像 素外觀比爲0.888:1的螢幕(也就是解析度爲720x480,螢 幕外觀比爲4:3的螢幕)上輸出時,該1:1字型會變窄。當 顯示互動內容時,如果該1:1字型先以1.125:1的比率放 大,再輸出到像素外觀比爲0.888:1的螢幕時,該1:1字 型會正常顯示。因此,字型解碼器63使用矩陣資訊,以 1.125:1的比率放大該1:1字型,並且接下來將放大字型輸 出至4:3螢幕,使該字型正常顯示。換言之,在像素外觀 比爲0.888:1的螢幕(也就是解析度爲720x480,螢幕外觀 比爲4:3的螢幕)上,該放大字型會以0.999:1的比率縮小, 所以看起來像第6B圖所示的1:1字型。 如第7A圖所示,當一個1:1字型未經轉換直接從像 素外觀比爲1.186:1的電視螢幕(也就是解析度爲 720x480,螢幕外觀比爲16:9的螢幕)上輸出時,該1:1字 型會變寬。當顯示互動內容時,如果該1:1字型先以0.843:1 的比率縮小,再輸出到像素外觀比爲1.186:1的螢幕時, 12580pif.doc/008 16 200408972 該1:1字型會正常顯示。因此,字型解碼器63使用矩陣 資訊,以0.843:1的比率縮小該1:1字型,並且接下來將 縮小字型輸出至16:9螢幕,使該字型正常顯示。換言之, 在像素外觀比爲1.186:1的蛋幕(也就是解析度爲 720x480,螢幕外觀比爲16:9的螢幕)上,該縮小字型會以 0.999:1的比率放大,所以看起來像第7B圖所示的1:1字 型。 第8A圖顯示當字型解碼器63根據螢幕外觀比,放 大或縮小1:1字型,正常顯示文字資料的範例。第8B圖 顯示當一個1:1字型未經轉換直接從像素外觀比爲0.888:1 的螢幕(也就是解析度爲720x480,螢幕外觀比爲4:3的螢 幕)上輸出時,文字資料變窄的範例。第8C圖顯示當一個 1:1字型未經轉換直接從像素外觀比爲1.186:1的螢幕(也 就是解析度爲720x480,螢幕外觀比爲16:9的螢幕)上輸 出時,文字資料變寬的範例。 字型解碼器63將用來根據包含在標示文件中的外觀 比資訊放大或縮小字型的數個値,當成.如第3表所示的矩 陣資訊儲存。第3表顯示用於一個4:3螢幕(像素外觀比爲 0.888:1,解析度爲720x480)的矩陣、用於一個16:9螢幕(像 素外觀比爲1.186:1,解析度爲720x480)的矩陣、用於一 個14:9螢幕(像素外觀比爲1·〇31:1,解析度爲720x480)的 矩陣、以及用於一個1:1螢幕(其解析度爲960x540或 1920x1080)的矩陣。 12580pif.doc/008 17 第3表 像素外觀 比 0:888:1 1.186:1 1.031:1 1:1 矩陣 資訊 「1.125 0"| 0 1 「0.843 0] 0 1 [0.3 0] 0 1 「10] 0 1 200408972 第9圖是一個流程圖,用來說明根據本發明一實施 例,根據外觀比守恆控制字型,以再生互動內容之方法。 第9圖顯示以軟體實現的字型解碼器63的操作範例。 首先在步驟901中,決定標示文件是否包含外觀比資 訊,例如,標示文件是否包含標籤<«^& name=”bestlook” content=,,Rresolution value,Aaspect ratio value’’〉,或是否 aspect-ratio=”aspect ratio value”/〉。當決定標示文件包含 外觀比資訊時,在步驟902中,將標示文件的外觀比資訊 當成螢幕外觀比資訊輸入。當決定標示文件並未包含外觀 比資訊時,在步驟903中,將設定在再生裝置中的基本螢 幕外觀比資訊當成螢幕外觀比資訊輸入。在步驟904中, 使用對應於螢幕外觀比資訊的矩陣資料(如第3圖所示), 放大或縮小字型。在步驟905中,掃描(rasterize)用來顯示 並且是由放大或縮小字型產生的控制點所組成的字型資 料。接下來在步驟906中,混合掃瞄過的字型資料與其他 元件(影像、動畫、等等),並且在螢幕上顯示混合結果。 如上所述,根據本發明,當以特定外觀比用最佳狀況 12580pif.doc/008 18 200408972 顯示的互動影像資訊從資訊儲存媒體再生,以及顯示在與 特定外觀比不同的螢幕外觀比螢幕上時,可用對應於特定 外觀比的矩陣資訊,放大或縮小字型,使內容製作者想要 的原始字型正常顯示在螢幕上,而且可以最小失真,將互 動影像顯示在螢幕上。 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何熟習此技藝者,在不脫離本發明之精神 和範圍內,當可作各種之更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者爲準。 圖式簡單說明 第1A圖與第1B圖是以互動模式顯示的螢幕範例。 第2圖繪示當一適用於1:1像素外觀比螢幕的影像, 未經轉換直接在4:3像素外觀比的螢幕上顯示時,產生失 真的範例。 第3圖是根據本發明的一再生裝置的示意方塊圖。 第4圖是根據本發明一實施例,根據外觀比守恆控制 字型,以再生互動內容之裝置的示意方塊圖。 第5圖顯示使用字型輪廓的控制點資料轉動字型的範 例。 第6A圖與第6B圖分別繪示一個根據習知技藝與根 據本發明的字型輸出範例。 第7A圖與第7B圖分別繪示另一個根據習知技藝與 根據本發明的字型輸出範例。 第8A圖到第8C圖分別繪示再另一個根據本發明與 12580pif.doc/008 19 200408972 根據習知技藝的字型輸出範例。 第9圖是一個流程圖,用來說明根據本發明一實施 例,根據外觀比守恆控制字型,以再生互動內容之方法。 圖式標記說明= 1 :讀取器 2:緩衝記憶體 3:快取記憶體 4 :解碼器 5:控制單元 6:展示引擎 7 :混合器 61 :影像解碼器 62 :動畫解碼器 63 :字型解碼器 64 :標示影像混合器 71 :視訊轉換器 72 :控制器 73 :第一混合器 74 :影像位置/影像尺寸控制器 - 75 :圖型影像轉換器 76 :第二混合器 1〇〇 :互動式資訊儲存媒體 200 :顯示裝置 901〜906 :流程步驟 12580pif.doc/008 20200408972 发明 Description of the invention: The technical field to which the invention belongs The present invention relates to a technology for regenerating interactive display interactive content from an information storage medium, and more particularly, it relates to a method for regenerating interaction based on the aspect ratio conservation to control the font Device and method for reducing display distortion. Prior art Generally speaking, audio and / or video interactive information (AV interactive information) and user-defined information are recorded on an information storage medium. AV interactive information is content that is actually reproduced from the information storage medium, while user-defined information is unique information defined by the producer. When a general playback device is used, only the AV content is reproduced from the information storage medium. When using a computer-like device, user-defined information can be accessed and used. Recently, interactive information storage media have been commercialized. Hypertext Markup Language (HTMT), which provides users with interactive display, can be used to apply interactive information storage media in a web-based environment. When reproducing information from the interactive information storage medium, the user can still see an interactive image (interactive image) that is displayed along with the AV image showing the AV content, even with a normal reproduction device, for displaying tools, text, or images ) To allow users to access web links and perform searches. · Figures 1A and 1B are examples of screens displayed in interactive mode. Figure 1A shows a screen with an aspect ratio of 4: 3 12580pif.doc / 008 6 200408972 (hereinafter referred to as a 4: 3 screen). Figure 1B shows a wide screen with an aspect ratio of 16: 9. It is known that the production method of interactive information storage media is to make it have ~ 4: 3 screen identification files (i.e., a piXel aspect ratio) of 1: 1 for a personal computer display screen ( markup document). Therefore, when an interactive image is displayed on a TV screen, because the TV screen does not have a 1: 1 pixel aspect ratio, the interactive image is displayed in an undesired format, so there will be different screen aspeet ratios. In other words, when reproducing an HTML file suitable for a specific pixel aspect ratio screen from a conventional interactive information storage medium, and displaying the HTML file on a pixel aspect ratio screen different from the specific pixel aspect ratio screen (for example, a 4: 3 TV screen) ), As shown in Figure 2, the HTML file is not displayed in the format desired by the content creator. When an interactive image is displayed on a display device with a different pixel aspect ratio, image distortion will occur, and the image shape will be different from what the content producer wants. Therefore, there is a need for a method for displaying interactive content without distortion on a screen with a pixel appearance ratio different from that of the generated markup document in a format desired by the content producer. SUMMARY OF THE INVENTION In view of this, the present invention provides an apparatus and method for controlling fonts according to aspect ratio conversion to minimize display distortion and reproduce interactive content. The present invention further provides an aspect ratio information of a markup document containing the aspect ratio information and resolution information most suitable for the markup document, and the control is adapted to 12580pif.doc / 008 7 200408972 for the font size conserved font size to minimize the display. Device and method for distorting and reproducing interactive content. The present invention further provides an apparatus and method for enlarging or reducing a font having a predetermined pixel appearance ratio and reducing as much as possible according to a screen resolution and an appearance ratio of a font displayed thereon to reduce 7TK distortion to reproduce interactive content. According to one aspect of the present invention, the present invention provides an apparatus for reproducing interactive content from an information storage medium. The interactive content includes AV data including audio data and video data, a logo file, and / or a logo resource file. The device includes a font control device, which determines the pixel appearance ratio of the font based on the appearance ratio information and resolution information of the input markup document, enlarges or reduces the font size according to the determined pixel appearance ratio, and outputs processed and Suitable for font data on which the screen aspect ratio and resolution of interactive content are displayed. According to one aspect of the present invention, the present invention provides a method for reproducing interactive content from an information storage medium. The interactive content includes AV data including audio data and video data, a logo file, and / or a logo resource file. The method includes determining the pixel aspect ratio of the font based on the appearance ratio information and resolution information of the input markup document, and before displaying, enlarge or reduce the font size 'and output the processed and suitable for displaying the interactive content on it. Font data with a change in screen aspect ratio and resolution. In order to make the above and other objects, features, and advantages of the present invention more comprehensible, hereinafter, the preferred embodiments are described in detail with the accompanying drawings as follows: Embodiment, 12580pif.doc / 008 8 200408972 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Fig. 3 is a schematic block diagram of a reproduction apparatus according to the present invention. The reproduction device includes a reader 1, a buffer memory 2, a cache memory 3, a decoder 4, a control unit 5, and a bleiuier 7. The control unit 5 further includes a presentation engine 6. The reader 1 includes an optical pickup unit (not shown), and reads data by irradiating a laser beam to the interactive information storage medium 100. The interactive information storage medium 100 provides various types of information and AV content that can be displayed in a user interactive environment. The interactive information storage medium 100 has a logo file containing resolution information and logo file appearance ratio information, so that the interactive image can be displayed with a specific screen appearance ratio appropriately. Generally, although a font with a square pixel appearance is used in the markup document, the font format can be changed according to the intention of the content producer. The reader 1 controls the optical pickup device, and reads the AV data and the mark file from the interactive information storage medium 100 according to a control signal from the control unit 5. The buffer memory 2 buffers the AV data, and the cache memory 3 caches the playback control information file used to control the playback of the AV data and / or markup files, or temporarily stores other necessary information. The control unit 5 controls the reader 1, the decoder 4, the display engine 6, and the mixer 7, and selects to reproduce the AV from the interactive information storage medium 100 in a video mode or an interactive mode according to the user's intention. data. The presentation engine 6 is an analysis engine for analyzing standard languages such as JavaScript and Java 12580pif.doc / 008 9 200408972. The presentation engine 6 may include various plug-ins. These plug-ins allow users to open logo resource files in various formats contained or linked to the logo file. In other words, the display engine 6 is used as a viewer of a markup document. In one embodiment of the present invention, the presentation engine 6 can access the Internet and read predetermined data. The presentation engine 6 fetches a logo file from the cache memory 3, and then analyzes and renders the logo file in an interactive mode. The mixer 7 mixes the AV data stream and the reproduced markup file, so that the AV data stream can be displayed on a display window defined by the markup file, that is, the AV image is embedded in the markup file image, and the mixing result is output to Display device 200. More specifically, the display engine 6 uses the appearance ratio information of the markup document containing resolution information and appearance ratio information suitable for the markup document to enlarge or reduce the font made with the square pixel appearance ratio to minimize the interactive data. distortion. Therefore, the interactive data can be displayed in the original font on a screen with a different resolution and appearance ratio than the original resolution and appearance ratio of the distorted markup document. Fig. 4 is a schematic block diagram of a device for regenerating interactive content according to an aspect ratio conservation control font according to an embodiment of the present invention. In Figure 4, a sub-image is a sub picture data that overlaps with a video image. Among them, the sub-image and video image are generated by the decoder 4 in FIG. 3. The video converter 71 is controlled by a controller 72, 12580pif.doc / 008 10 200408972, and converts the video image format to Pan & scan format or letterbox according to the screen appearance ratio and resolution of the display device 200. Format, or directly output the video image generated by the decoder 4 without conversion. The first mixer (first miXer〇73 mixes the video image from the image converter 71 with the sub-image. The image position / image size controller 74 controls the position of the mixed image output by the first mixer 73 according to the input image layout information. And the size of the AV image displayed on the screen of the display device 200. The graphic image converter 75 is controlled by the controller 72, and converts the graphic image indicating the image source generated by the display engine 6 according to the document appearance ratio information. Size (length or width). The second mixer 76 mixes the output of the image position / image size controller 74 and the output of the graphic image converter 75, and outputs the mixed result to the display device 200 so that the mixed result is displayed on the display. On the screen of the device 200. The controller 72 controls the video converter 71 and the graphic image converter 75 according to the screen appearance ratio and resolution of the display device 200. The image converter 71, the controller 72, the first mixer 73, and the image The position / image size controller 74, the graphic image converter 75, and the second mixer 76 collectively constitute the mixer 7. Preferred The interactive image display file is a label file such as a web-based file, and the label file is written by a label language or a label resource file such as a representative image, animation, or font. Although not shown in the figure , But the display engine 6 includes a markup document parser and a style sheet parser. The markup document parser parses the markup file to generate a document tree that conforms to the following rules First, 12580pif.doc / 008 11 200408972 sets a node (root node) of all nodes as a document node. Next, all texts and components generate a node. Next, processing instructions, comments, and file types generate another node. The style sheet syntax parser parses a style sheet that allows free formatting of the markup file format to generate a style rule and a selector list ). The style sheet syntax parser provides the image input to the image position / image size controller 74. Layout information such as layout information and label resources linked to the label document (also known as label resource layout information). The label resource layout information is then input to the label image mixer 64. According to the document tree, the image decoder 61 can decode the image Data, the animation decoder 62 can decode the animation data, and the font decoder 63 can decode the text data according to the font-related information to generate text data with an appropriate font. Font-related information includes unicode information (international standard font information) and font family information, or font information stored in the playback device as a system default. First, in the present invention, the font decoder 63 specifically uses a matrix 设定 which is set in advance to the appearance ratio of the display screen of the display device 200 according to the appearance ratio information of the markup file output by the markup file syntax parser. And output font data. Hereinafter, the operations of the font decoder 63 will be described in detail with reference to FIGS. 5 to 9. The marker image mixer 64 mixes the image decoder 01, the animation decoder 62, and the font decoder 63 according to the layout information of the marker resource. Output to generate a label image resource, and output the label image resource to the graphic image converter 75 of the mixer 7 75 12580pif.doc / 008 12 200408972 image decoder 61, animation decoder 62, font decoder 63, standard The video mixer 64 and other units (not shown) together form the display engine 6. The preferences of the markup document displayed in the interactive image may include resolution information and aspect ratio information indicating the 16: 9 screen, 4: 3 screen, and 1: 1 screen, or included in a document that is not set to mark the document. In the example of aspect ratio, the resolution information and aspect ratio information have nothing to do with the screen aspect ratio. Table 1 shows examples of resolution information and aspect ratio information. When the markup document does not contain resolution information and aspect ratio information, the basic screen information set in the playback device can be used. For example, basic screen information can include a horizontal resolution of 720 pixels, a vertical resolution of 480 pixels, and an aspect ratio of 14: 9. Table 1: Pixel aspect ratio 1: 1 0.888: 1 1.186: 1 Set resolution only, without setting pixel aspect ratio R720x405, R720x480, R720x480, R720x480 Example Alxl A4x3 A16x9 R720x576 R720x540, R720x576, R720x576, R1920xl08 Alxl R1920xl080, Alxl A4x3 A16x9 0 R960x540 12580pif.doc / 008 13 200408972 The resolution information and appearance ratio information of the markup document can be inserted into the markup document with a tag, for example: < meta name = ”bestlook” content = 5, resolution value5Aaspect ratio value>. In a modified example, <11111 <: 111 ^ = ”€ 〇〇 乂 88” 1706 =:! ^ 6 and 1: / 〇88 ”(16 ¥ €€ -aspect-ratio =” aspect ratio value ” / > The resolution information and appearance ratio information are used to indicate that the resolution and appearance ratio of the markup document can be displayed in the best way. The following is an example of a markup file that combines the appearance ratio and resolution. < xml version = ”10 ”Encoding = '' UTF-8”? ≫ < 1D0CTYPE html PUBLIC-// DVD / DTD XHTML DVD-HTML 1.0 // EN "" http://www.dvdfonim.org/enav/dvdhtml-l .O .dtd ”>” < html > < head > < title > 720x480, 4x3 PAGE < / title > < meta name = ”bestlook” content = ”R720x480, A4x3” /〉 <link href = `` foo. css ”type =` `text / css” device-aspect-ratio = ,, 4: 3 ,, &>; <script language ^ ecmascipt ''> <! [CDATA [function onload_handler () {idplayer.play () ; idplayer.enable VideoTransform (O); 14 12580pif.doc / 008 200408972 // Disable first video transform when a value is 0 and enable first video transform when a value is 1.}]] > < / script > < / head > < / body id = ”docbody” onload = `` onload—handler () ”> <object style =” position: absolute; left: 150px ; top: lOOpx; width: 370px; height: 250px ”data =” dvd: video_ts ”id =” idplayer ”/ > Interactive Data < / body > < / html > Generally speaking, the font is one pixel Produced on a screen with an aspect ratio of 1: 1 (square). And the font information is composed of coordinate points, so as shown in Figure 5, the control point data of the font outline (f0nt outline) can be used to easily perform two-dimensional phase such as zoom in, zoom out, or rotation. Conversion. However, TV screens do not have a square pixel aspect ratio. As shown in Table 2, when the screen aspect ratio is 4: 3, the pixel aspect ratio is 0.888: 1. When the screen aspect ratio is 16: 9, the pixel aspect ratio is 1.186: 1. 15 12580pif.doc / 008 200408972 Table 2 720x480 (NTSC) screen appearance ratio 4: 3 16: 9 pixel appearance ratio 0.888: 1 1.186: 1 Therefore, when a font with a square pixel appearance ratio (hereinafter also referred to as 1: 1 font), the following phenomenon occurs when outputting directly from the TV screen without conversion. As shown in Figure 6A, when a 1: 1 font is directly output from a screen with a pixel appearance ratio of 0.888: 1 (that is, a screen with a resolution of 720x480 and a screen appearance ratio of 4: 3) without conversion, The 1: 1 font becomes narrower. When displaying interactive content, if the 1: 1 font is enlarged at a ratio of 1.125: 1 and then output to a screen with a pixel appearance ratio of 0.888: 1, the 1: 1 font will be displayed normally. Therefore, the font decoder 63 uses matrix information to enlarge the 1: 1 font at a ratio of 1.125: 1, and then outputs the enlarged font to a 4: 3 screen so that the font is displayed normally. In other words, on a screen with a pixel appearance ratio of 0.888: 1 (that is, a screen with a resolution of 720x480 and a screen appearance ratio of 4: 3), the enlarged font will be reduced at a ratio of 0.999: 1, so it looks like the first 1: 1 font shown in Figure 6B. As shown in Figure 7A, when a 1: 1 font is output directly from a TV screen with a pixel appearance ratio of 1.186: 1 (ie, a screen with a resolution of 720x480 and a screen appearance ratio of 16: 9) without conversion. , The 1: 1 font will be wider. When displaying interactive content, if the 1: 1 font is first reduced at a ratio of 0.843: 1 and then output to a screen with a pixel appearance ratio of 1.186: 1, 12580pif.doc / 008 16 200408972 the 1: 1 font will normal display. Therefore, the font decoder 63 uses matrix information to reduce the 1: 1 font at a ratio of 0.843: 1, and then outputs the reduced font to a 16: 9 screen so that the font is displayed normally. In other words, on an egg screen with a pixel appearance ratio of 1.186: 1 (that is, a screen with a resolution of 720x480 and a screen appearance ratio of 16: 9), the reduced font size will be enlarged at a ratio of 0.999: 1, so it looks like The 1: 1 font shown in Figure 7B. Fig. 8A shows an example of the normal display of text data when the font decoder 63 enlarges or reduces the 1: 1 font according to the screen appearance ratio. Figure 8B shows that when a 1: 1 font is directly output from a screen with a pixel appearance ratio of 0.888: 1 (that is, a screen with a resolution of 720x480 and a screen appearance ratio of 4: 3), the text data changes. Narrow paradigm. Figure 8C shows that when a 1: 1 font is directly output from a screen with a pixel appearance ratio of 1.186: 1 (that is, a screen with a resolution of 720x480 and a screen appearance ratio of 16: 9), the text data changes. Wide paradigm. The font decoder 63 stores a plurality of fonts that enlarge or reduce the font size based on the appearance contained in the markup document, and stores them as matrix information as shown in Table 3. Table 3 shows a matrix for a 4: 3 screen (0.888: 1 pixel aspect ratio and 720x480 resolution), and a 16: 9 screen (1.186: 1 pixel aspect ratio and 720x480 resolution) Matrix, a matrix for a 14: 9 screen (pixel aspect ratio of 1.031: 1, resolution of 720x480), and a matrix for a 1: 1 screen (resolution of 960x540 or 1920x1080). 12580pif.doc / 008 17 Table 3 Pixel appearance ratio 0: 888: 1 1.186: 1 1.031: 1 1: 1 Matrix information "1.125 0 " | 0 1" 0.843 0] 0 1 [0.3 0] 0 1 "10] 0 1 200408972 FIG. 9 is a flowchart for explaining a method for regenerating interactive content according to an aspect ratio conservation control font according to an embodiment of the present invention. FIG. 9 shows a software-implemented font decoder 63 Operation example: First, in step 901, determine whether the markup document contains appearance ratio information, for example, whether the markup document includes a tag < «^ & name =" bestlook "content = ,, Resolution value, Aspect ratio value ''>, Or whether aspect-ratio = ”aspect ratio value” />. When it is determined that the marking document contains aspect ratio information, in step 902, the aspect ratio information of the marking document is input as screen aspect ratio information. When it is determined that the marking document does not contain In the aspect ratio information, the basic screen aspect ratio information set in the playback device is input as the screen aspect ratio information in step 903. In step 904, a matrix corresponding to the screen aspect ratio information is used. (As shown in Figure 3), enlarge or reduce the font. In step 905, scan (rasterize) the font data used to display and is composed of the control points generated by the enlarged or reduced font. Next in the In step 906, the scanned font data is mixed with other components (images, animations, etc.), and the mixed result is displayed on the screen. As described above, according to the present invention, the best condition is 12580 pif with a specific appearance ratio. .doc / 008 18 200408972 The interactive image information displayed is reproduced from the information storage medium, and when it is displayed on a screen with a different aspect ratio than the specific aspect ratio, the matrix information corresponding to the specific aspect ratio can be used to enlarge or reduce the font size so that The original font desired by the content producer is normally displayed on the screen, and the interactive image can be displayed on the screen with minimal distortion. Although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Any Those skilled in the art can make various modifications and retouching without departing from the spirit and scope of the present invention. The definition of the scope of patent application shall prevail. Figures briefly explain Figure 1A and Figure 1B are examples of screens displayed in interactive mode. Figure 2 shows an image suitable for a 1: 1 pixel aspect ratio screen without An example of distortion when converted directly to a 4: 3 pixel aspect ratio display. Figure 3 is a schematic block diagram of a reproduction device according to the present invention. Figure 4 is an embodiment according to the present invention, according to the aspect ratio A schematic block diagram of a device that conserves control fonts to reproduce interactive content. Figure 5 shows an example of turning a font using the control point data of the font outline. Figures 6A and 6B show an example of a font output according to the conventional technique and according to the present invention. FIG. 7A and FIG. 7B respectively show another example of font output according to the conventional technique and the present invention. Figures 8A to 8C show another example of font output according to the present invention and 12580pif.doc / 008 19 200408972 according to the conventional art. FIG. 9 is a flowchart for explaining a method for regenerating interactive content according to an aspect ratio conservation control font according to an embodiment of the present invention. Description of Schematic Marks = 1: Reader 2: Buffer Memory 3: Cache Memory 4: Decoder 5: Control Unit 6: Display Engine 7: Mixer 61: Video Decoder 62: Animation Decoder 63: Word Type decoder 64: label image mixer 71: video converter 72: controller 73: first mixer 74: image position / image size controller-75: graphic image converter 76: second mixer 100 : Interactive information storage medium 200: Display devices 901 to 906: Flow step 12580pif.doc / 008 20