Changeset 606c39807a576c659e86f222ee0d6793e61262e7
- Timestamp:
- 21/03/07 23:10:50
(2 years ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1174515050 +0000
- git-parent:
[e8740b8b7abed00e06cdbef7aad8e8f17e64b10d]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1174515050 +0000
- Message:
Change the visible heigh/width only if they weren't set in the source text subpicture. Else use the original values. Could someone with good knowledge of the freetype module (and maybe other text render modules ... if we have any) confirm that this change is ok?
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rcb917cf |
r606c398 |
|
| 409 | 409 | fmt.i_width = fmt.i_visible_width = i_width + 4; |
|---|
| 410 | 410 | fmt.i_height = fmt.i_visible_height = i_height + 4; |
|---|
| | 411 | if( p_region->fmt.i_visible_width > 0 ) |
|---|
| | 412 | fmt.i_visible_width = p_region->fmt.i_visible_width; |
|---|
| | 413 | if( p_region->fmt.i_visible_height > 0 ) |
|---|
| | 414 | fmt.i_visible_height = p_region->fmt.i_visible_height; |
|---|
| 411 | 415 | fmt.i_x_offset = fmt.i_y_offset = 0; |
|---|
| 412 | 416 | p_region_tmp = spu_CreateRegion( p_filter, &fmt ); |
|---|
| … | … | |
| 680 | 684 | fmt.i_width = fmt.i_visible_width = i_width + 6; |
|---|
| 681 | 685 | fmt.i_height = fmt.i_visible_height = i_height + 6; |
|---|
| | 686 | if( p_region->fmt.i_visible_width > 0 ) |
|---|
| | 687 | fmt.i_visible_width = p_region->fmt.i_visible_width; |
|---|
| | 688 | if( p_region->fmt.i_visible_height > 0 ) |
|---|
| | 689 | fmt.i_visible_height = p_region->fmt.i_visible_height; |
|---|
| 682 | 690 | fmt.i_x_offset = fmt.i_y_offset = 0; |
|---|
| 683 | 691 | p_region_tmp = spu_CreateRegion( p_filter, &fmt ); |
|---|